diff --git a/app/core/Database.php b/app/core/Database.php index 97baeb8..eb2d7db 100644 --- a/app/core/Database.php +++ b/app/core/Database.php @@ -25,7 +25,7 @@ class Database $dsn = "mysql:host={$args['host']};dbname={$args['database']};charset={$args['charset']}"; $options = [ PDO::ATTR_PERSISTENT => true, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION + 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); }