diff options
Diffstat (limited to 'shared/functions/debug.php')
-rw-r--r-- | shared/functions/debug.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/functions/debug.php b/shared/functions/debug.php index 4231e21..8a054f9 100644 --- a/shared/functions/debug.php +++ b/shared/functions/debug.php @@ -1,7 +1,7 @@ <?php function debug ($type, $text=null) { - global $conf, $S; - if ($conf['debug']) { + global $S; + if ($S['conf']['debug']) { if ($text===null) { $text=$type; $type=null; |