Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
||
4 | |||
5 | // ToDo! Hier prüfen auf $configuration[$modul]['lock_cleaner_until'] |
||
6 | |||
7 | // "SELECT WHERE NOW() < '".$configuration[$modul]['lock_cleaner_until']."'"; |
||
8 | |||
9 | if (true) |
||
10 | { |
||
11 | for ($st=1; true; $st++) |
||
12 | { |
||
13 | $erf = false; |
||
14 | |||
15 | foreach ($modules as $m1 => $m2) |
||
16 | { |
||
17 | $module_information = WBModuleHandler::get_module_information($m2); |
||
18 | |||
19 | if (file_exists('modules/'.$m2.'/crossover/'.$modul.'/'.$st.'.inc.php')) |
||
20 | { |
||
21 | $filename = 'modules/'.$m2.'/crossover/'.$modul.'/'.$st.'.inc.php'; |
||
22 | |||
23 | // eval() statt include(), damit Parsing-Fehler gemeldet werden können, die der Admin nicht sehen würde! |
||
24 | eval('?>' . trim(implode("\n", file($filename)))); |
||
25 | |||
26 | $erf = true; |
||
27 | } |
||
28 | |||
29 | } |
||
30 | |||
31 | unset($m1); |
||
32 | unset($m2); |
||
33 | |||
34 | if (!$erf) break; |
||
35 | } |
||
36 | } |
||
37 | |||
38 | ?> |