git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
deedc3e
Branches
Tags
master
ticket
webinterface.git
inc
debug.php
Menü-Includes sinnvoller / Debug-Modus über config abschaltbar
bernd
commited
deedc3e
at 2007-07-01 16:21:48
debug.php
Blame
History
Raw
<?php require_once('config.php'); global $config; $debugmode = (isset($_GET['debug']) && $config['enable_debug']); function DEBUG($str) { global $debugmode; if ($debugmode) if (is_array($str)) { echo "<pre>".print_r($str, true)."</pre>\n"; } else { echo $str."<br />\n"; } } ?>