]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - Classes/class-log.php
Move to new style config, with config in config/ directory.
[irc/unrealircd/unrealircd-webpanel.git] / Classes / class-log.php
index 1fd7dd0088dc284529b09d816fda2626366b2ecf..080d0da9a3fc8e2a662d3086580ae78312eb9675 100644 (file)
@@ -23,7 +23,7 @@ class Log
        {
                foreach($string as $str)
                {
-                       if (defined('UNREALIRCD_DEBUG') && UNREALIRCD_DEBUG) {
+                       if (defined('get_config("debug")') && get_config("debug")) {
                                highlight_string(var_export($str, true));
                        }
                }