mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
잠금 아이피도 함께 검사한다음 잠금아이피에 들어가있찌 않은경우에 리턴하도록 개선
This commit is contained in:
parent
dbaada29a6
commit
cf5def3ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ class ncenterliteController extends ncenterlite
|
|||
return new Object();
|
||||
}
|
||||
|
||||
if(config('lock.locked') && Context::get('logged_info')->is_admin !== 'Y')
|
||||
if(config('lock.locked') && Context::get('logged_info')->is_admin !== 'Y' && !Rhymix\Framework\Filters\IpFilter::inRanges(RX_CLIENT_IP, config('lock.allow')))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue