diff --git a/setup/manageheader.php b/setup/manageheader.php index e969abbdc3..19da70b432 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -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(); }