mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Send cache control headers if session.cache_limiter is turned off in php.ini
This commit is contained in:
parent
295ac7e61e
commit
3722c49750
1 changed files with 4 additions and 0 deletions
|
|
@ -368,6 +368,10 @@ class Context
|
||||||
{
|
{
|
||||||
Rhymix\Framework\Session::checkSSO($site_module_info);
|
Rhymix\Framework\Session::checkSSO($site_module_info);
|
||||||
Rhymix\Framework\Session::start(false);
|
Rhymix\Framework\Session::start(false);
|
||||||
|
if (!session_cache_limiter())
|
||||||
|
{
|
||||||
|
self::setCacheControl(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// start output buffer
|
// start output buffer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue