[Plugin: Absolute Privacy] White List IP
-
My suggestion, a small change on the function abpr_lockDown, line 624:
The var $options[‘whitelist_ip’] can comming from text area in the backend, IP coma split.
if ( isset($options['whitelist_ip']) ) { $whitelist_ip = preg_replace('/\s+/','',$options['whitelist_ip']); foreach( preg_split('/\,+/',$whitelist_ip) as $ip ) { if ( (string) $_SERVER['REMOTE_ADDR'] == (string) $ip ) return; } }
The topic ‘[Plugin: Absolute Privacy] White List IP’ is closed to new replies.