]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
Surfbar continued and some rewrites/fixes:
[mailer.git] / inc / install-inc.php
index 552956e9a6683588bf8b98c332e2bce73c2f8e79..f9ce4811d86f8057fe55d2c55be8cad977485725 100644 (file)
@@ -409,7 +409,7 @@ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndT
                                        }
                                }
                        }
-                       if ((sizeof($FATAL) > 0) || ($FATAL[0] != ''))
+                       if ((sizeof($FATAL) > 0) || ((isset($FATAL[0])) && ($FATAL[0] != '')))
                        {
                                $OUT = "";
                                foreach ($FATAL as $value)
@@ -479,6 +479,7 @@ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndT
                break;
 
        default:
+               DEBUG_LOG(__FILE__, __LINE__, sprintf("Wrong page %s detected.", $_GET['page']));
                OUTPUT_HTML("    <STRONG class=\"install_error\">".WRONG_PAGE."</STRONG>");
                break;
        }