Rev 7 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7 | Rev 8 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | echo $header; |
5 | echo $header; |
6 | 6 | ||
7 | echo '<h1>Systemcheck</h1>'; |
7 | echo '<h1>Systemcheck</h1>'; |
8 | 8 | ||
9 | echo '<table cellspacing="0" cellpadding="0" border="0" width="100%">'; |
9 | echo '<table cellspacing="0" cellpadding="0" border="0" width="100%">'; |
10 | 10 | ||
11 | foreach ($module as $m1 => $m2) |
11 | foreach ($module as $m1 => $m2) |
12 | { |
12 | { |
13 | if (file_exists('modules/'.$m2.'/crossover/admin_systemcheck/main.inc.php')) |
13 | if (file_exists('modules/'.wb_dir_escape($m2).'/crossover/admin_systemcheck/main.inc.php')) |
14 | { |
14 | { |
15 | echo '<tr>'; |
15 | echo '<tr>'; |
16 | 16 | ||
17 | echo '<td align="center" valign="top">'; |
17 | echo '<td align="center" valign="top">'; |
18 | 18 | ||
19 | if (file_exists('modules/'.$m2.'/images/menu/32.png')) |
19 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
20 | echo '<img src="modules/'.$m2.'/images/menu/32.png" alt="" width="32" height="32">'; |
20 | echo '<img src="modules/'.wb_dir_escape($m2).'/images/menu/32.png" alt="" width="32" height="32">'; |
21 | else if (file_exists('modules/'.$m2.'/images/menu/32.gif')) |
21 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
22 | echo '<img src="modules/'.$m2.'/images/menu/32.gif" alt="" width="32" height="32">'; |
22 | echo '<img src="modules/'.wb_dir_escape($m2).'/images/menu/32.gif" alt="" width="32" height="32">'; |
23 | else |
23 | else |
24 | echo '<img src="design/spacer.gif" alt="" width="32" height="32">'; |
24 | echo '<img src="design/spacer.gif" alt="" width="32" height="32">'; |
25 | 25 | ||
26 | echo '</td><td><img src="design/spacer.gif" alt="" width="10" height="1"></td><td width="100%" valign="top" align="left">'; |
26 | echo '</td><td><img src="design/spacer.gif" alt="" width="10" height="1"></td><td width="100%" valign="top" align="left">'; |
27 | 27 | ||
28 | $modulueberschrift = ''; |
28 | $modulueberschrift = ''; |
29 | $modulsekpos = ''; |
29 | $modulsekpos = ''; |
30 | $modulpos = ''; |
30 | $modulpos = ''; |
31 | $modulrechte = ''; |
31 | $modulrechte = ''; |
32 | $autor = ''; |
32 | $autor = ''; |
33 | $version = ''; |
33 | $version = ''; |
34 | $menuevisible = ''; |
34 | $menuevisible = ''; |
35 | $license = ''; |
35 | $license = ''; |
36 | $deaktiviere_zugangspruefung = 0; |
36 | $deaktiviere_zugangspruefung = 0; |
37 | 37 | ||
38 | if (file_exists('modules/'.$m2.'/var.inc.php')) |
38 | if (file_exists('modules/'.wb_dir_escape($m2).'/var.inc.php')) |
39 | include 'modules/'.$m2.'/var.inc.php'; |
39 | include 'modules/'.wb_dir_escape($m2).'/var.inc.php'; |
40 | 40 | ||
41 | $meldung = ''; |
41 | $meldung = ''; |
42 | include 'modules/'.$m2.'/crossover/admin_systemcheck/main.inc.php'; |
42 | include 'modules/'.wb_dir_escape($m2).'/crossover/admin_systemcheck/main.inc.php'; |
43 | if ($meldung == '') |
43 | if ($meldung == '') |
44 | echo '<b>'.$m2.'</b> gab keine Rückmeldung.'; |
44 | echo '<b>'.$m2.'</b> gab keine Rückmeldung.'; |
45 | else |
45 | else |
46 | echo '<b>'.$m2.'</b> hat folgende Nachricht zurückgegeben:<br><br><code>'.$meldung.'</code>'; |
46 | echo '<b>'.$m2.'</b> hat folgende Nachricht zurückgegeben:<br><br><code>'.$meldung.'</code>'; |
47 | 47 | ||
48 | echo '</td></tr><tr><td colspan="3"> </td></tr>'; |
48 | echo '</td></tr><tr><td colspan="3"> </td></tr>'; |
49 | } |
49 | } |
50 | } |
50 | } |
51 | 51 | ||
52 | unset($m1); |
52 | unset($m1); |
53 | unset($m2); |
53 | unset($m2); |
54 | 54 | ||
55 | echo '<tr><td colspan="3">Der Systemcheck ist beendet.</td></tr></table>'; |
55 | echo '<tr><td colspan="3">Der Systemcheck ist beendet.</td></tr></table>'; |
56 | 56 | ||
57 | echo $footer; |
57 | echo $footer; |
58 | 58 | ||
59 | ?> |
59 | ?> |
60 | 60 |