post check

This commit is contained in:
HB9HIL
2024-01-28 19:57:49 +01:00
parent 34aefed953
commit 93e28a1e92

View File

@@ -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.');
}
// }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">