forked from extern/egroupware
fix some errors in new phpUnit tests: using __DIR__ in header.inc.php include
This commit is contained in:
parent
aa4750009f
commit
d86f990bd5
@ -25,9 +25,9 @@ $GLOBALS['egw_info'] = array(
|
||||
'currentapp' => 'setup',
|
||||
'noapi' => True
|
||||
));
|
||||
if(file_exists('../header.inc.php'))
|
||||
if(file_exists(__DIR__.'/../../header.inc.php'))
|
||||
{
|
||||
include('../header.inc.php');
|
||||
include_once(__DIR__.'/../../header.inc.php');
|
||||
}
|
||||
// for an old header we need to setup a reference for the domains
|
||||
if (!is_array($GLOBALS['egw_domain'])) $GLOBALS['egw_domain'] =& $GLOBALS['phpgw_domain'];
|
||||
|
Loading…
Reference in New Issue
Block a user