"setting currentapp='setup' for setup"

This commit is contained in:
Ralf Becker 2008-08-13 07:19:32 +00:00
parent 8a9bf481f5
commit 5447cd6a6d

View File

@ -18,6 +18,13 @@
// for an old header, we need to setup the reference before including it
$GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];
$GLOBALS['egw_info'] = array(
'flags' => array(
'noheader' => True,
'nonavbar' => True,
'currentapp' => 'setup',
'noapi' => True
));
if(file_exists('../header.inc.php'))
{
include('../header.inc.php');
@ -50,7 +57,7 @@
define('EGW_API_INC',EGW_SERVER_ROOT.'/phpgwapi/inc');
}
require(EGW_INCLUDE_ROOT . '/phpgwapi/inc/common_functions.inc.php');
require_once(EGW_INCLUDE_ROOT . '/phpgwapi/inc/common_functions.inc.php');
define('SEP',filesystem_separator());