diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-18 00:39:11 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-18 00:39:11 +0200 |
commit | d63414872ef6fc14b3a9ab65a8624d5e3fee3bc8 (patch) | |
tree | 780b0fc6d7817b8371a3d28e26e5d95e92d11d40 /system | |
parent | d22e53b6c5ea602900199360454b29c6e72d5b86 (diff) |
Added port support to mysqli
Diffstat (limited to 'system')
-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 f7c986fc8..4bbe5ebf6 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -60,7 +60,7 @@ class CI_DB_mysqli_driver extends CI_DB { */
function db_connect()
{
- return @mysqli_connect($this->hostname, $this->username, $this->password);
+ return @mysqli_connect($this->hostname, $this->username, $this->password, $this->database, $this->port);
}
// --------------------------------------------------------------------
|