mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
a bit more sophisticated session create
This commit is contained in:
parent
11a9afc1ba
commit
8541487029
@ -29,6 +29,12 @@ if (!$GLOBALS['egw_setup']->auth('Config') || $_POST['cancel'])
|
|||||||
// Does not return unless user is authorized
|
// Does not return unless user is authorized
|
||||||
|
|
||||||
// the migration script needs a session to store the accounts
|
// the migration script needs a session to store the accounts
|
||||||
|
session_name('setup_session');
|
||||||
|
session_set_cookie_params(0,'/',$GLOBALS['egw_setup']->cookie_domain);
|
||||||
|
if (isset($_REQUEST['setup_session']))
|
||||||
|
{
|
||||||
|
session_id($_REQUEST['setup_session']);
|
||||||
|
}
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
$tpl_root = $GLOBALS['egw_setup']->html->setup_tpl_dir('setup');
|
$tpl_root = $GLOBALS['egw_setup']->html->setup_tpl_dir('setup');
|
||||||
|
Loading…
Reference in New Issue
Block a user