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