mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#472 관리자는 request 관련 필터에 적용받지 않도록 수정
This commit is contained in:
parent
caec71ed91
commit
25f382d6bc
1 changed files with 6 additions and 2 deletions
|
|
@ -45,8 +45,12 @@ class ModuleHandler extends Handler
|
|||
$oContext = Context::getInstance();
|
||||
if($oContext->isSuccessInit == FALSE)
|
||||
{
|
||||
$this->error = 'msg_invalid_request';
|
||||
return;
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin != "Y")
|
||||
{
|
||||
$this->error = 'msg_invalid_request';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Set variables from request arguments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue