|
From: <rgr...@us...> - 2014-03-09 19:40:14
|
Revision: 12369
http://sourceforge.net/p/xoops/svn/12369
Author: rgriffith
Date: 2014-03-09 19:40:11 +0000 (Sun, 09 Mar 2014)
Log Message:
-----------
Address issues with custom sessions
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/common.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/common.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/common.php 2014-03-09 09:53:17 UTC (rev 12368)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/common.php 2014-03-09 19:40:11 UTC (rev 12369)
@@ -201,7 +201,7 @@
array(&$sess_handler, 'destroy'),
array(&$sess_handler, 'gc'));
-if (strlen(session_id()) == 0) {
+if (session_status() !== PHP_SESSION_ACTIVE) {
session_start();
}
|