Bernd Wurst commited on 2021-01-31 05:18:43
Zeige 1 geänderte Dateien mit 0 Einfügungen und 4 Löschungen.
| ... | ... |
@@ -22,13 +22,9 @@ function DEBUG($str) |
| 22 | 22 |
{
|
| 23 | 23 |
global $debugmode; |
| 24 | 24 |
if ($debugmode) {
|
| 25 |
- if (is_string($str)) {
|
|
| 26 |
- echo htmlspecialchars($str) . "<br />\n"; |
|
| 27 |
- } else {
|
|
| 28 | 25 |
echo "<pre>".htmlspecialchars(print_r($str, true))."</pre>\n"; |
| 29 | 26 |
} |
| 30 | 27 |
} |
| 31 |
-} |
|
| 32 | 28 |
|
| 33 | 29 |
|
| 34 | 30 |
DEBUG("GET: ".htmlentities(print_r($_GET, true))." / POST: ".htmlentities(print_r($_POST, true)));
|
| 35 | 31 |