X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/371aa6517549edcf314e008f6a8fa43daa6d7093..refs/pull/10/head:/Classes/class-log.php diff --git a/Classes/class-log.php b/Classes/class-log.php index 01d7646..1fd7dd0 100644 --- a/Classes/class-log.php +++ b/Classes/class-log.php @@ -23,7 +23,7 @@ class Log { foreach($string as $str) { - if (UNREALIRCD_DEBUG) { + if (defined('UNREALIRCD_DEBUG') && UNREALIRCD_DEBUG) { highlight_string(var_export($str, true)); } }