diff options
author | dchill42 <dchill42@gmail.com> | 2012-10-21 01:39:40 +0200 |
---|---|---|
committer | dchill42 <dchill42@gmail.com> | 2012-10-21 01:39:40 +0200 |
commit | 9e4ebf1af81b0e5216a026fe4a99a19f2be6a831 (patch) | |
tree | 97ddddc6b7a65130672a168f522d7a69e515ec54 /system/database | |
parent | e3621cc79fa4b4658768fea0694cc0ae52835d85 (diff) | |
parent | 8df1ae2d7e0fd441f7a1fc481c76c5c1edfadf23 (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into load_config_units
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index f77176c16..dc72ecc5f 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -69,7 +69,7 @@ class CI_DB_mysqli_driver extends CI_DB { ? 'p:'.$this->hostname : $this->hostname; $port = empty($this->port) ? NULL : $this->port; $client_flags = ($this->compress === TRUE) ? MYSQLI_CLIENT_COMPRESS : 0; - $mysqli = new mysqli(); + $mysqli = mysqli_init(); return @$mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, NULL, $client_flags) ? $mysqli : FALSE; |