Hanno Böck commited on 2024-04-13 11:44:47
Zeige 2 geänderte Dateien mit 1 Einfügungen und 11 Löschungen.
... | ... |
@@ -29,13 +29,8 @@ if (!defined("TOP_INCLUDED")) { |
29 | 29 |
include("modules/{$module}/menu.php"); |
30 | 30 |
} |
31 | 31 |
if (empty($menu)) { |
32 |
- #DEBUG("Modul {$module} hat keine Menüeinträge"); |
|
33 | 32 |
continue; |
34 | 33 |
} |
35 |
- // Menüeinträge spammen den debug-output zu |
|
36 |
- //DEBUG("<h4>$module</h4>"); |
|
37 |
- //DEBUG($menu); |
|
38 |
- // $menu["foo"]["file"] enthält den Link |
|
39 | 34 |
foreach (array_keys($menu) as $key) { |
40 | 35 |
$menu[$key]["file"] = $prefix . "go/" . $module . "/" . $menu[$key]["file"]; |
41 | 36 |
$weight = $menu[$key]["weight"]; |
... | ... |
@@ -73,17 +68,11 @@ if (!defined("TOP_INCLUDED")) { |
73 | 68 |
} |
74 | 69 |
|
75 | 70 |
ksort($weighted_menuitem); |
76 |
- #DEBUG($weighted_menuitem); |
|
77 | 71 |
|
78 | 72 |
foreach ($submenu as $weight => $data) { |
79 | 73 |
ksort($submenu[$weight]); |
80 | 74 |
} |
81 | 75 |
|
82 |
- #DEBUG($submenu); |
|
83 |
- |
|
84 |
- // Verbiete das Laden in jeglichem Frameset |
|
85 |
- header("X-FRAME-OPTIONS: DENY"); |
|
86 |
- header("Content-Type: " . config('mime_type')); |
|
87 | 76 |
|
88 | 77 |
if (!isset($html_header)) { |
89 | 78 |
$html_header = ''; |
90 | 79 |