From be48f328d5854f4c0305284256c61515567acb8d Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Mon, 23 Jan 2017 15:01:17 +0100 Subject: [PATCH] PDO > ATTR_STRINGIFY_FETCHES & ATTR_EMULATE_PREPARES = false --- config/autoload/global.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/autoload/global.php b/config/autoload/global.php index 39d5722..eb497c7 100755 --- a/config/autoload/global.php +++ b/config/autoload/global.php @@ -29,6 +29,8 @@ return array( 'dbname' => 'monarc_common', 'charset' => 'utf8', 'driverOptions' => array( + PDO::ATTR_STRINGIFY_FETCHES => false, + PDO::ATTR_EMULATE_PREPARES => false, PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8', ), ), @@ -43,6 +45,8 @@ return array( 'dbname' => 'monarc_cli', 'charset' => 'utf8', 'driverOptions' => array( + PDO::ATTR_STRINGIFY_FETCHES => false, + PDO::ATTR_EMULATE_PREPARES => false, PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8', ), ),