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