mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
Add option to enable/disable cache-friendly behavior
This commit is contained in:
parent
ff45072103
commit
1c5424358d
5 changed files with 28 additions and 2 deletions
|
|
@ -350,8 +350,8 @@ class Context
|
|||
{
|
||||
$session_id = $_COOKIE[$session_name];
|
||||
}
|
||||
|
||||
if($session_id !== NULL)
|
||||
|
||||
if($session_id !== NULL || $this->db_info->cache_friendly != 'Y')
|
||||
{
|
||||
$this->isSessionStarted = TRUE;
|
||||
$this->setCacheControl(0, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue