mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
관리자에게만 디버그 정보 표시 설정시 아예 표시되지 않는 문제 수정
isEnabledForCurrentUser() 에서 Context::get('logged_info') 사용되기에 self::set('logged_info', ..) 이후에서 실행되어야함
This commit is contained in:
parent
f0085f816e
commit
80e0498425
1 changed files with 3 additions and 3 deletions
|
|
@ -367,9 +367,6 @@ class Context
|
|||
Rhymix\Framework\Session::checkSSO($site_module_info);
|
||||
Rhymix\Framework\Session::start(false, $relax_key_checks);
|
||||
}
|
||||
|
||||
// start debugging
|
||||
Rhymix\Framework\Debug::isEnabledForCurrentUser();
|
||||
|
||||
// start output buffer
|
||||
if (\PHP_SAPI !== 'cli')
|
||||
|
|
@ -391,6 +388,9 @@ class Context
|
|||
}
|
||||
}
|
||||
|
||||
// start debugging
|
||||
Rhymix\Framework\Debug::isEnabledForCurrentUser();
|
||||
|
||||
// set locations for javascript use
|
||||
$current_url = $request_uri = self::getRequestUri();
|
||||
if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET' && self::$_get_vars)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue