summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-03-02 12:48:48 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-03-02 12:48:48 +0100
commit37c32ad08fa60d65bac7f4ec760cb0c29a2743cc (patch)
treee1e0d4b94f6b1a17c4f45df9b6a8515ec0f4c16b /includes
parent68da2a4eb8122bf4d4d795bb6094939e3b170dfd (diff)
Added PDO::ATTR_EMULATE_PREPARES => false
Diffstat (limited to 'includes')
-rw-r--r--includes/engelsystem_provider.php1
1 files changed, 1 insertions, 0 deletions
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);
/**