mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
If cache-friendly behavior is enabled, don't update session when reading document or comment
This commit is contained in:
parent
1c5424358d
commit
caf01354df
3 changed files with 12 additions and 2 deletions
|
|
@ -131,7 +131,10 @@ class commentItem extends Object
|
|||
|
||||
function setAccessible()
|
||||
{
|
||||
$_SESSION['accessibled_comment'][$this->comment_srl] = TRUE;
|
||||
if(Context::getInstance()->isSessionStarted)
|
||||
{
|
||||
$_SESSION['accessibled_comment'][$this->comment_srl] = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
function isEditable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue