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