]> git.mxchange.org Git - mailer.git/blobdiff - inc/fatal_errors.php
Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / fatal_errors.php
index edee328c70734d6b98083215650361dce3b530d4..6bb6a0ca55886cdc5ec99f641497f1e3f7d0ff27 100644 (file)
@@ -45,7 +45,7 @@ if ((sizeof($FATAL) > 0) || (!empty($FATAL[0])))
 
        // Set unset variable
        if (empty($check)) $check = "";
-       if (mxchange_installing) {
+       if (isBooleanConstantAndTrue('mxchange_installing')) {
                // While we are installing ouput other header than while it is installed... :-)
                $OUT = "";
                foreach ($FATAL as $key=>$value) {
@@ -61,7 +61,7 @@ if ((sizeof($FATAL) > 0) || (!empty($FATAL[0])))
 
                // Load main template
                LOAD_TEMPLATE("install_fatal_table", false, $OUT);
-       } elseif (mxchange_installed) {
+       } elseif (isBooleanConstantAndTrue('mxchange_installed')) {
                // Display all runtime fatal errors
                $OUT = "";
                foreach ($FATAL as $key=>$value) {