From 79893ba3dd4d0c601e63d08181f1a6c2b0359388 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 21 Apr 2022 13:43:06 +0200 Subject: [PATCH] Commit --- app/lib/App/Core/Database.php | 1 - app/lib/App/Core/ErrorHandler.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/lib/App/Core/Database.php b/app/lib/App/Core/Database.php index d63de1a..579cda6 100644 --- a/app/lib/App/Core/Database.php +++ b/app/lib/App/Core/Database.php @@ -32,7 +32,6 @@ class Database $dsn = "mysql:host={$args['host']};dbname={$args['database']};charset={$args['charset']}"; $options = [ PDO::ATTR_PERSISTENT => true, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION // in PHP 8 and above, this will be the default mode. ]; return new PDO($dsn, $args['user'], $args['password'], $options); } diff --git a/app/lib/App/Core/ErrorHandler.php b/app/lib/App/Core/ErrorHandler.php index 9bebc0f..af73c6a 100644 --- a/app/lib/App/Core/ErrorHandler.php +++ b/app/lib/App/Core/ErrorHandler.php @@ -48,7 +48,7 @@ class ErrorHandler body { margin: 1rem; background: tomato; - font-family: sans; + font-family: sans-serif; } #error { padding: 1rem;