From 85414870290865ed58ce7408fe27acfecc0df3cd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 9 Jul 2006 07:13:03 +0000 Subject: [PATCH] a bit more sophisticated session create --- setup/account_migration.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/account_migration.php b/setup/account_migration.php index 8f90d204fa..3b43912856 100644 --- a/setup/account_migration.php +++ b/setup/account_migration.php @@ -29,6 +29,12 @@ if (!$GLOBALS['egw_setup']->auth('Config') || $_POST['cancel']) // Does not return unless user is authorized // 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(); $tpl_root = $GLOBALS['egw_setup']->html->setup_tpl_dir('setup');