From: Roland Häder Date: Sun, 18 May 2008 16:30:48 +0000 (+0000) Subject: Fatal message removed in installation when the script is installed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0005d6a8b6206aa41504cbc862754a88ee0cf7ee;p=mailer.git Fatal message removed in installation when the script is installed --- 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); } }