[Web] Fix init db on fresh installations

This commit is contained in:
André committed 2018-09-10 16:23:08 +02:00
1 parent ce604232e2
commit a5488d4ba6
3 files changed
+44 -37

No files matched your search

+1
View File
@@ -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',