From 3de5d6b3a92c9be335905135ccab983bd5ab192d Mon Sep 17 00:00:00 2001 From: Nico Boisselier Date: Mon, 10 Oct 2016 16:39:43 +0100 Subject: [PATCH] db options compatible for osx --- lib/php/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/db.php b/lib/php/db.php index 6aaa3406..f8c7e164 100644 --- a/lib/php/db.php +++ b/lib/php/db.php @@ -26,7 +26,7 @@ class Db extends nb { public $conn; public $pdo; - public $options = [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]; # See: http://php.net/manual/en/pdo.error-handling.php + public $options = [PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING]; # See: http://php.net/manual/en/pdo.error-handling.php public $host = null; public $port = null; public $user = null; -- 2.47.3