Bernd Wurst commited on 2018-02-05 11:37:09
Zeige 3 geänderte Dateien mit 8 Einfügungen und 8 Löschungen.
| ... | ... |
@@ -35,7 +35,7 @@ foreach (config('modules') as $module)
|
| 35 | 35 |
include("modules/{$module}/menu.php");
|
| 36 | 36 |
if ($menu === false) |
| 37 | 37 |
{
|
| 38 |
- DEBUG("Modul {$module} hat keine Menüeinträge");
|
|
| 38 |
+ #DEBUG("Modul {$module} hat keine Menüeinträge");
|
|
| 39 | 39 |
continue; |
| 40 | 40 |
} |
| 41 | 41 |
// Menüeinträge spammen den debug-output zu |
| ... | ... |
@@ -65,13 +65,13 @@ foreach (config('modules') as $module)
|
| 65 | 65 |
} |
| 66 | 66 |
|
| 67 | 67 |
ksort($weighted_menuitem); |
| 68 |
-DEBUG($weighted_menuitem); |
|
| 68 |
+#DEBUG($weighted_menuitem); |
|
| 69 | 69 |
|
| 70 | 70 |
foreach ($submenu AS $weight => $data) {
|
| 71 | 71 |
ksort($submenu[$weight]); |
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 |
-DEBUG($submenu); |
|
| 74 |
+#DEBUG($submenu); |
|
| 75 | 75 |
|
| 76 | 76 |
// Verbiete das Laden in jeglichem Frameset |
| 77 | 77 |
header("X-FRAME-OPTIONS: DENY");
|
| ... | ... |
@@ -65,7 +65,7 @@ function list_useraccounts() |
| 65 | 65 |
{
|
| 66 | 66 |
array_push($ret, $item); |
| 67 | 67 |
} |
| 68 |
- DEBUG($ret); |
|
| 68 |
+ #DEBUG($ret); |
|
| 69 | 69 |
return $ret; |
| 70 | 70 |
} |
| 71 | 71 |
|
| ... | ... |
@@ -90,7 +90,7 @@ function get_used_quota($uid) |
| 90 | 90 |
$ret = array(); |
| 91 | 91 |
while ($line = $result->fetch()) |
| 92 | 92 |
$ret[] = $line; |
| 93 |
- DEBUG($ret); |
|
| 93 |
+ #DEBUG($ret); |
|
| 94 | 94 |
return $ret; |
| 95 | 95 |
} |
| 96 | 96 |
|
| ... | ... |
@@ -28,7 +28,7 @@ function user_certs() |
| 28 | 28 |
$ret = array(); |
| 29 | 29 |
while ($i = $result->fetch()) |
| 30 | 30 |
$ret[] = $i; |
| 31 |
- DEBUG($ret); |
|
| 31 |
+ #DEBUG($ret); |
|
| 32 | 32 |
return $ret; |
| 33 | 33 |
} |
| 34 | 34 |
|
| ... | ... |
@@ -39,7 +39,7 @@ function user_csr() |
| 39 | 39 |
$ret = array(); |
| 40 | 40 |
while ($i = $result->fetch()) |
| 41 | 41 |
$ret[] = $i; |
| 42 |
- DEBUG($ret); |
|
| 42 |
+ #DEBUG($ret); |
|
| 43 | 43 |
return $ret; |
| 44 | 44 |
} |
| 45 | 45 |
|
| ... | ... |
@@ -70,7 +70,7 @@ function cert_details($id) |
| 70 | 70 |
function cert_is_letsencrypt($id) |
| 71 | 71 |
{
|
| 72 | 72 |
$details = cert_details($id); |
| 73 |
- DEBUG($details); |
|
| 73 |
+ #DEBUG($details); |
|
| 74 | 74 |
if (strpos($details['subject'], "Let's Encrypt autogenerated") > 0) {
|
| 75 | 75 |
return true; |
| 76 | 76 |
} |
| 77 | 77 |