From 34a963bb8de826ef3b881385a198594d6d62af86 Mon Sep 17 00:00:00 2001 From: William Date: Wed, 26 Jan 2022 16:23:49 +0100 Subject: [PATCH] Commit --- app/core/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }