잠금 아이피도 함께 검사한다음 잠금아이피에 들어가있찌 않은경우에 리턴하도록 개선

This commit is contained in:
BJRambo 2017-07-31 23:09:27 +09:00
parent dbaada29a6
commit cf5def3ed3

View file

@ -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();
}