mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Improve and simplify session status detection
This commit is contained in:
parent
3f40434bbd
commit
42d864641f
6 changed files with 28 additions and 24 deletions
|
|
@ -131,7 +131,7 @@ class commentItem extends Object
|
|||
|
||||
function setAccessible()
|
||||
{
|
||||
if(Context::getInstance()->isSessionStarted)
|
||||
if(Context::getSessionStatus())
|
||||
{
|
||||
$_SESSION['accessibled_comment'][$this->comment_srl] = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue