skip DNSBL check for certain IP addresses
This commit is contained in:
@@ -1139,6 +1139,9 @@
|
||||
if(!isset($_SERVER['REMOTE_ADDR']))
|
||||
return; // Fix your web server configuration
|
||||
|
||||
if(in_array($_SERVER['REMOTE_ADDR'], $dnsbl_exceptions))
|
||||
return;
|
||||
|
||||
$ip = ReverseIPOctets($_SERVER['REMOTE_ADDR']);
|
||||
|
||||
foreach($config['dnsbl'] as &$blacklist) {
|
||||
|
||||
Reference in New Issue
Block a user