From 0005d6a8b6206aa41504cbc862754a88ee0cf7ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 18 May 2008 16:30:48 +0000 Subject: [PATCH] Fatal message removed in installation when the script is installed --- inc/header.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/header.php b/inc/header.php index 20500100af..ce675dc08c 100644 --- a/inc/header.php +++ b/inc/header.php @@ -80,7 +80,9 @@ if (($header != "1") && ($header != "2")) { } else { // Configuration not found! define('__PAGE_TITLE', NO_CONFIG_FOUND_TITLE); - ADD_FATAL(NO_CONFIG_FOUND); + + // Do not add the fatal message in installation mode + if (basename($_SERVER['SELF']) != "install.php") ADD_FATAL(NO_CONFIG_FOUND); } } -- 2.39.5