Lines Matching refs:allowed
36 $allowed = $this->getConf('allowed');
49 …&& empty($_REQUEST['http_credentials']) && !empty($USERINFO) && !$this->is_allowed($allowed, $ip)){
58 if(!$this->is_allowed($allowed, $test)) {
66 if($ACT == 'login' && !$this->is_allowed($allowed, $ip)) {
76 function is_allowed($allowed, $ip) { argument
80 $allowed = $cache;
83 $allowed = trim($allowed,', ');
84 $allowed = preg_quote($allowed);
85 $allowed=str_replace(array(' ', ','), array("",'|'),$allowed);
86 $cache = $allowed;
89 if(!$allowed ) return false; // if allowed string is empty then all ips are allowed
90 if( preg_match("/" . $allowed . "/", $ip) ) {