share cookie with regular EGroupware (required for Stylite hosting)

This commit is contained in:
Ralf Becker 2013-09-12 15:23:38 +00:00
parent 4bc61c67d9
commit eec0972bc0

View File

@ -223,7 +223,7 @@ class setup
/**
* Name of session cookie
*/
const SESSIONID = 'egw_setup_sessionid';
const SESSIONID = 'sessionid';
/**
* Session timeout in secs (1200 = 20min)
@ -319,6 +319,7 @@ class setup
$_SESSION['ConfigLang'] = self::get_lang();
$_SESSION['egw_last_action_time'] = time();
session_regenerate_id(true);
$this->set_cookie(self::SESSIONID, session_id(), 0);
return true;
}