mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
post check
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user