From 73bb5ca1c59cf74a46863b0c497f7807c737a85d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 23 May 2009 10:25:45 +0000 Subject: [PATCH] "small changes to get setup-cli working with current EGroupware" --- setup/setup-cli.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/setup-cli.php b/setup/setup-cli.php index c5ddfe2f39..0da7036f8a 100755 --- a/setup/setup-cli.php +++ b/setup/setup-cli.php @@ -37,9 +37,10 @@ if (ini_get('session.save_handler') == 'files' && !is_writable(ini_get('session. ini_set('session.save_path','/tmp'); // regular users may have no rights to apache's session dir } // setting up the $GLOBALS['egw_setup'] object AND including the header.inc.php if it exists +$_POST['FormDomain'] = $arguments[0]; $GLOBALS['egw_info'] = array( 'flags' => array( - 'currentapp' => 'home', + 'currentapp' => 'setup', 'noapi' => true, 'no_exception_handler' => 'cli', ));