mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
주의: 여기서 Context가 아닌 Session을 참조하면 무한루프에 빠지면서 memory_limit을 초과할 수 있음
This commit is contained in:
parent
fef8b10ce6
commit
1003f0ea49
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ class Debug
|
|||
{
|
||||
return true;
|
||||
}
|
||||
elseif ($logged_info = Session::getMemberInfo())
|
||||
elseif ($logged_info = \Context::get('logged_info'))
|
||||
{
|
||||
return self::$_enabled = $logged_info->isAdmin();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue