[Web] Fix init db on fresh installations

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

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',