* [MOD] Improved DB connection

* [MOD] Updated translations
This commit is contained in:
nuxsmin
2017-01-17 01:08:07 +01:00
parent ee7f88d491
commit 788bad659f
6 changed files with 98 additions and 108 deletions

View File

@@ -153,7 +153,7 @@ class MySQLHandler implements DBStorageInterface
}
}
$this->db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
$this->db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
return $this->db;