mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
NOISSUE 코드정리
This commit is contained in:
parent
5fae27d53c
commit
53e81300f3
1 changed files with 2 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ class IpFilter
|
|||
return false;
|
||||
}
|
||||
|
||||
public function filter2($ip_list, $ip)
|
||||
/* public function filter2($ip_list, $ip)
|
||||
{
|
||||
$long_ip = ip2long($ip);
|
||||
foreach($ip_list as $filter_ip)
|
||||
|
|
@ -49,7 +49,7 @@ class IpFilter
|
|||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
public function validate($ip_list = array())
|
||||
|
|
@ -74,7 +74,6 @@ class IpFilter
|
|||
)
|
||||
)
|
||||
$/";
|
||||
|
||||
$regex = str_replace(array("\r\n", "\n", "\r","\t"," "), '', $regex);
|
||||
|
||||
foreach($ip_list as $i => $ip)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue