diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-07-05 21:11:42 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-07-05 21:11:42 +0200 |
commit | bd6116a63899c5efcf35e175b3db14b1f05c60a9 (patch) | |
tree | 30f8c8ac46877143919340891072f3efc62f03c9 /system/database/drivers/pdo/pdo_driver.php | |
parent | d74e027614fd1d5209180800e97bb8a01e5d4acf (diff) |
Replace localhost with 127.0.0.1 and remove the PDO::ERRMODE_SILENT option - it's the default anyway
Diffstat (limited to 'system/database/drivers/pdo/pdo_driver.php')
-rw-r--r-- | system/database/drivers/pdo/pdo_driver.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php index 26ad3831a..b36a3d927 100644 --- a/system/database/drivers/pdo/pdo_driver.php +++ b/system/database/drivers/pdo/pdo_driver.php @@ -114,7 +114,6 @@ class CI_DB_pdo_driver extends CI_DB { */ public function db_connect($persistent = FALSE) { - $this->options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_SILENT; $this->options[PDO::ATTR_PERSISTENT] = $persistent; // Connecting... |