error code update
This commit is contained in:
+1
-1
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user