From 37c32ad08fa60d65bac7f4ec760cb0c29a2743cc Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 2 Mar 2017 12:48:48 +0100 Subject: [PATCH] Added PDO::ATTR_EMULATE_PREPARES => false --- includes/engelsystem_provider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php index 8a5723ef..a818e4cd 100644 --- a/includes/engelsystem_provider.php +++ b/includes/engelsystem_provider.php @@ -62,6 +62,7 @@ Db::connect( config('database')['pw'] ) || die('Error: Unable to connect to database'); Db::getPdo()->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); +Db::getPdo()->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); /**