mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
fix shutdown functions did not have $GLOBALS[egw] set, caused by session created by MServer
This commit is contained in:
parent
0bac07f1ba
commit
8cd1707736
@ -1588,6 +1588,9 @@ class Session
|
||||
|
||||
/**
|
||||
* Initialise the used session handler
|
||||
*
|
||||
* @return boolean true if we have a session, false otherwise
|
||||
* @throws \ErrorException if there is no PHP session support
|
||||
*/
|
||||
public static function init_handler()
|
||||
{
|
||||
@ -1607,6 +1610,9 @@ class Session
|
||||
if (self::ERROR_LOG_DEBUG) error_log(__METHOD__."() sessionid=$sessionid, _SESSION[".self::EGW_SESSION_VAR.']='.array2string($_SESSION[self::EGW_SESSION_VAR]));
|
||||
return $ok;
|
||||
}
|
||||
break;
|
||||
case PHP_SESSION_ACTIVE:
|
||||
return true; // session created by MServer
|
||||
}
|
||||
if (self::ERROR_LOG_DEBUG) error_log(__METHOD__."() no active session!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user