summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-02-09 10:40:39 +0100
committerTaufan Aditya <toopay@taufanaditya.com>2012-02-09 10:40:39 +0100
commit62b8cae55d69775f09e3d64a6d35420c30241f98 (patch)
treea4ba9ca0d88dba9a950a2a6963cfe90257054011
parent0142f70954879180e3dbf26cee001a112843ac50 (diff)
Change PHP.net mirror to the main mirror
-rw-r--r--system/database/drivers/pdo/pdo_driver.php4
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...