mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 05:14:56 +09:00
조건문을 Context::isLocked()으로 검사
This commit is contained in:
parent
ef7863d7c3
commit
f2dd50f37e
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' && !Rhymix\Framework\Filters\IpFilter::inRanges(RX_CLIENT_IP, config('lock.allow')))
|
||||
if(Context::isLocked())
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue