From 93e28a1e9207c181ec628ca57aa41325376ff840 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 28 Jan 2024 19:57:49 +0100 Subject: [PATCH] post check --- install/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.'); } -// } +} ?>