diff --git a/install.php b/install.php index bd519e3cf..7ccd26063 100644 --- a/install.php +++ b/install.php @@ -1265,7 +1265,7 @@ class e_install $error = "DEBUG: Rename from e107.htaccess to .htaccess was successful"; } } - else + elseif(file_exists("e107.htaccess")) { $error = "IMPORTANT: Please copy and paste the contents of the e107.htaccess into your .htaccess file. Please take care NOT to overwrite any existing data that may be in it."; }