forked from extern/egroupware
fix PHP Fatal, if debug is enabled
This commit is contained in:
parent
a63d5fdb78
commit
70135317a3
@ -1553,8 +1553,6 @@ class Session
|
|||||||
*/
|
*/
|
||||||
public static function init_handler()
|
public static function init_handler()
|
||||||
{
|
{
|
||||||
if (self::ERROR_LOG_DEBUG) error_log(__METHOD__.'() session_handler='.self::$session_handler.', egw_info[server][session_handler]='.$GLOBALS['egw_info']['server']['session_handler'].' called from:'.function_backtrace());
|
|
||||||
|
|
||||||
ini_set('session.use_cookies',0); // disable the automatic use of cookies, as it uses the path / by default
|
ini_set('session.use_cookies',0); // disable the automatic use of cookies, as it uses the path / by default
|
||||||
session_name(self::EGW_SESSION_NAME);
|
session_name(self::EGW_SESSION_NAME);
|
||||||
if (($sessionid = self::get_sessionid()))
|
if (($sessionid = self::get_sessionid()))
|
||||||
|
Loading…
Reference in New Issue
Block a user