mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
bug/typo fix for dnsbl_exceptions
This commit is contained in:
parent
219788131f
commit
443d13a3bc
@ -1139,7 +1139,7 @@
|
||||
if(!isset($_SERVER['REMOTE_ADDR']))
|
||||
return; // Fix your web server configuration
|
||||
|
||||
if(in_array($_SERVER['REMOTE_ADDR'], $dnsbl_exceptions))
|
||||
if(in_array($_SERVER['REMOTE_ADDR'], $config['dnsbl_exceptions']))
|
||||
return;
|
||||
|
||||
$ip = ReverseIPOctets($_SERVER['REMOTE_ADDR']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user