Add is_null check
This commit is contained in:
parent
16c6806c5b
commit
fd76b15638
|
@ -743,7 +743,7 @@ function dlogger($msg, $level = 0) {
|
|||
}
|
||||
|
||||
$dlogip = Config::get('system', 'dlogip');
|
||||
if ($dlogip && $_SERVER['REMOTE_ADDR'] != $dlogip) {
|
||||
if (!is_null($dlogip) && $_SERVER['REMOTE_ADDR'] != $dlogip) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue