X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Finstall-inc.php;h=f19cf3a718928e19c6b463653dd5bb2c932870b5;hb=9709e0653e1a90fd65e6308b97a6fabb586a32a1;hp=47f6e86b481c8b1983dd619551e54f77fda37bea;hpb=0cbf3444544a6e3307e8da3af785da677688eba3;p=mailer.git diff --git a/inc/install-inc.php b/inc/install-inc.php index 47f6e86b48..f19cf3a718 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -104,7 +104,7 @@ if (isset($_POST['mysql']) && is_array($_POST['mysql'])) $mysql = $_POST['mysql' if (URL != "http://your-server.com") { // Already installed??? $burl = URL; -} elseif ($burl == "") { +} elseif (empty($burl)) { // Auto-detect URL $burl = "http://".$SERVER_NAME.$_SERVER['PHP_SELF']; $burl = substr($burl, 0, strpos($burl, "install.php")); @@ -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)