diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-02-09 10:40:39 +0100 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-02-09 10:40:39 +0100 |
commit | 62b8cae55d69775f09e3d64a6d35420c30241f98 (patch) | |
tree | a4ba9ca0d88dba9a950a2a6963cfe90257054011 /system/database/drivers/pdo | |
parent | 0142f70954879180e3dbf26cee001a112843ac50 (diff) |
Change PHP.net mirror to the main mirror
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r-- | system/database/drivers/pdo/pdo_driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php index e1602c4c5..46b5e543d 100644 --- a/system/database/drivers/pdo/pdo_driver.php +++ b/system/database/drivers/pdo/pdo_driver.php @@ -218,10 +218,10 @@ class CI_DB_pdo_driver extends CI_DB { */ function pdo_connect() { - // Refer : http://ch2.php.net/manual/en/ref.pdo-mysql.connection.php + // Refer : http://php.net/manual/en/ref.pdo-mysql.connection.php if ($this->pdodriver == 'mysql' && is_php('5.3.6')) { - $this->options[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES $this->char_set COLLATE '$this->dbcollat'"; + $this->options[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES $this->char_set COLLATE '.$this->dbcollat.'"; } // Connecting... |