From 32ea88edf4e30c370bd8b54a14a756c2b89b9cfe Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 20 Jun 2015 19:06:04 -0400 Subject: [PATCH] Removed kebab from the water supply --- _sakura/components/database/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sakura/components/database/mysql.php b/_sakura/components/database/mysql.php index 06e8618..8c9025f 100644 --- a/_sakura/components/database/mysql.php +++ b/_sakura/components/database/mysql.php @@ -71,7 +71,7 @@ class MySQL { try { // Connect to SQL server using PDO - $this->sql = new PDO($DSN, $dbUname, $dbPword, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING)); + $this->sql = new PDO($DSN, $dbUname, $dbPword, array(PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING)); } catch(PDOException $e) { // Catch connection errors trigger_error('SQL Driver: '. $e->getMessage(), E_USER_ERROR);