[Web] Fix init db on fresh installations
This commit is contained in:
1 parent
ce604232e2
commit
a5488d4ba6
3 files changed
+44
-37
No files matched your search
@@ -52,6 +52,7 @@ catch (PDOException $e) {
|
||||
exit;
|
||||
}
|
||||
function pdo_exception_handler($e) {
|
||||
print_r($e);
|
||||
if ($e instanceof PDOException) {
|
||||
$_SESSION['return'][] = array(
|
||||
'type' => 'danger',
|
||||
|
||||
Reference in new issue
Block a user