forked from leftypol/leftypol
skip DNSBL check for certain IP addresses
This commit is contained in:
parent
f3cc7ead43
commit
01e0a569e0
2 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue