mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Allow sitelock immediately after install (#160)
This commit is contained in:
parent
9e9b09464f
commit
605fdec1a2
10 changed files with 84 additions and 10 deletions
|
|
@ -174,7 +174,6 @@ class IpFilter
|
|||
$range .= str_repeat('.*', 4 - $count);
|
||||
}
|
||||
$range = str_replace(array('.', '*'), array('\\.', '\\d+'), trim($range));
|
||||
var_dump($ip, $range);
|
||||
return preg_match("/^$range$/", $ip) ? true : false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue