mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Force session.serialize_handler to 'php' if using DB session
xpressengine/xe-core#2357
This commit is contained in:
parent
907c6619bb
commit
199ab101ce
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ class Context
|
|||
{
|
||||
$oSessionModel = getModel('session');
|
||||
$oSessionController = getController('session');
|
||||
ini_set('session.serialize_handler', 'php');
|
||||
session_set_save_handler(
|
||||
array(&$oSessionController, 'open'), array(&$oSessionController, 'close'), array(&$oSessionModel, 'read'), array(&$oSessionController, 'write'), array(&$oSessionController, 'destroy'), array(&$oSessionController, 'gc')
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue