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

This commit is contained in:
Ralf Becker 2009-05-23 10:26:40 +00:00
parent ba6320eb92
commit 4fa8fba8c0

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