From 2030c6a24a5d51d12ed4880cea39f0709ad6ce99 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 13 Oct 2008 06:03:32 +0000 Subject: [PATCH] "better handle the situation of an empty / dummy header in rpm files" --- setup/manageheader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }