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;