mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
share cookie with regular EGroupware (required for Stylite hosting)
This commit is contained in:
parent
4bc61c67d9
commit
eec0972bc0
@ -223,7 +223,7 @@ class setup
|
|||||||
/**
|
/**
|
||||||
* Name of session cookie
|
* Name of session cookie
|
||||||
*/
|
*/
|
||||||
const SESSIONID = 'egw_setup_sessionid';
|
const SESSIONID = 'sessionid';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Session timeout in secs (1200 = 20min)
|
* Session timeout in secs (1200 = 20min)
|
||||||
@ -319,6 +319,7 @@ class setup
|
|||||||
$_SESSION['ConfigLang'] = self::get_lang();
|
$_SESSION['ConfigLang'] = self::get_lang();
|
||||||
$_SESSION['egw_last_action_time'] = time();
|
$_SESSION['egw_last_action_time'] = time();
|
||||||
session_regenerate_id(true);
|
session_regenerate_id(true);
|
||||||
|
$this->set_cookie(self::SESSIONID, session_id(), 0);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user