forked from extern/egroupware
"better handle the situation of an empty / dummy header in rpm files"
This commit is contained in:
parent
82bbc1238f
commit
2030c6a24a
@ -66,7 +66,7 @@ switch($GLOBALS['egw_info']['setup']['stage']['header'])
|
||||
break;
|
||||
}
|
||||
|
||||
if (!file_exists('../header.inc.php') || !is_readable('../header.inc.php'))
|
||||
if (!file_exists('../header.inc.php') || !is_readable('../header.inc.php') || !defined('EGW_SERVER_ROOT') || EGW_SERVER_ROOT == '..')
|
||||
{
|
||||
$GLOBALS['egw_setup']->header->defaults();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user