mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
"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;
|
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();
|
$GLOBALS['egw_setup']->header->defaults();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user