summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-25 15:03:16 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-25 15:03:16 +0100
commit4247ed1c0fb588f968f18fd80a5f95debefc63f6 (patch)
treed782e503e802e5f233c072c8459d2516682c5b87 /system/database
parent3e13ef6a1af93cfa2572548eff070ddaa936676b (diff)
Revert to error suppression on mysql_(p)connect() due to deprecation messages
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/mysql/mysql_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 396869b4d..9fbd94ce8 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -120,8 +120,8 @@ class CI_DB_mysql_driver extends CI_DB {
}
$this->conn_id = ($persistent === TRUE)
- ? mysql_pconnect($this->hostname, $this->username, $this->password, $client_flags)
- : mysql_connect($this->hostname, $this->username, $this->password, TRUE, $client_flags);
+ ? @mysql_pconnect($this->hostname, $this->username, $this->password, $client_flags)
+ : @mysql_connect($this->hostname, $this->username, $this->password, TRUE, $client_flags);
// ----------------------------------------------------------------