error code update
This commit is contained in:
parent
bcc69a88ad
commit
4ac00af622
|
@ -91,7 +91,7 @@ if(isset($_POST["dbSetup"])){
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
http_response_code(400);
|
http_response_code(400);
|
||||||
file_put_contents($conFilePath, NULL);
|
file_put_contents($conFilePath, NULL);
|
||||||
echo json_encode(["message" => "Could not connect to the database. Please check your configuration. error:" . $e]);
|
echo json_encode(["message" => "Could not connect to the database. Please check your configuration. error:"]);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
require_once ('Database/databaseMigration.php');
|
require_once ('Database/databaseMigration.php');
|
||||||
|
|
Loading…
Reference in New Issue