]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - Classes/class-log.php
Hopefully fix #51
[irc/unrealircd/unrealircd-webpanel.git] / Classes / class-log.php
index 1fd7dd0088dc284529b09d816fda2626366b2ecf..7c64949cad2c75207a79b43138f9cd89ca540d50 100644 (file)
@@ -23,7 +23,7 @@ class Log
        {
                foreach($string as $str)
                {
-                       if (defined('UNREALIRCD_DEBUG') && UNREALIRCD_DEBUG) {
+                       if (get_config("debug")) {
                                highlight_string(var_export($str, true));
                        }
                }