mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix typo
This commit is contained in:
parent
93b045fa17
commit
f4b35e3717
1 changed files with 1 additions and 1 deletions
|
|
@ -745,7 +745,7 @@ class adminAdminController extends admin
|
|||
$allowed_ip = array_unique(array_filter($allowed_ip, function($item) {
|
||||
return $item !== '';
|
||||
}));
|
||||
if (!Rhymix\Framework\Filters\IpFilter::validate($allowed_ip)) {
|
||||
if (!Rhymix\Framework\Filters\IpFilter::validateRanges($allowed_ip)) {
|
||||
return new Object(-1, 'msg_invalid_ip');
|
||||
}
|
||||
Rhymix\Framework\Config::set('debug.allow', array_values($allowed_ip));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue