Fixes for missing secret file
[mailer.git] / inc / install-inc.php
index 47f6e86b481c8b1983dd619551e54f77fda37bea..552956e9a6683588bf8b98c332e2bce73c2f8e79 100644 (file)
@@ -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"));