diff --git a/install/index.php b/install/index.php index def5d29cd..c5f10ff95 100644 --- a/install/index.php +++ b/install/index.php @@ -74,7 +74,7 @@ if (file_exists($db_file_path)) { } // Only load the classes in case the user submitted the form -// if ($_POST && isset($_POST['submit'])) { +if($_POST) { // Load the classes and create the new objects require_once('includes/core_class.php'); @@ -121,7 +121,7 @@ if (file_exists($db_file_path)) { } else { $message = $core->show_message('error', 'Not all fields have been filled in correctly. The host, username, password, and database name are required.'); } -// } +} ?>