Skip to content
Snippets Groups Projects
Commit b9055c36 authored by Florian Burgener's avatar Florian Burgener
Browse files

Add error message

parent 74be28db
Branches patch-1
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ class DB extends PDO
self::$instance->exec('SET time_zone="+00:00"');
} catch (\PDOException $e) {
echo "An error has occurred with the database.\n";
abort(500);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment