mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
알림센터의 알림이 관리자 페이지의 첫페이지에서 노출되는 문제 고침
This commit is contained in:
parent
935603743f
commit
db14f7c8c9
1 changed files with 2 additions and 8 deletions
|
|
@ -748,8 +748,8 @@ class ncenterliteController extends ncenterlite
|
|||
return;
|
||||
}
|
||||
|
||||
// HTML 모드가 아니면 중지 + act에 admin이 포함되어 있으면 중지
|
||||
if(Context::getResponseMethod() != 'HTML' || strpos(strtolower(Context::get('act')), 'admin') !== false)
|
||||
// HTML 모드가 아니면 중지 + admin 모듈이면 중지
|
||||
if(Context::getResponseMethod() != 'HTML' || Context::get('module') == 'admin')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -762,12 +762,6 @@ class ncenterliteController extends ncenterlite
|
|||
|
||||
$module_info = Context::get('module_info');
|
||||
|
||||
// admin 모듈이면 중지
|
||||
if($module_info->module == 'admin')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
$config = $oNcenterliteModel->getConfig();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue