"small changes to get setup-cli working with current EGroupware"

This commit is contained in:
Ralf Becker 2009-05-23 10:25:45 +00:00
parent 9bf9debe63
commit 73bb5ca1c5

View File

@ -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',
));