diff options
author | admin <devnull@localhost> | 2006-09-02 19:34:52 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-02 19:34:52 +0200 |
commit | 2ed76d5ac89ec7869dcb64c050360fb2f99e9326 (patch) | |
tree | d9a8a11e7b94bb51088aaa06e128f99a1c5adc60 /system/drivers/DB_driver.php | |
parent | 51cf423e1e41f573f87176d28affa50efda46c45 (diff) |
Diffstat (limited to 'system/drivers/DB_driver.php')
-rw-r--r-- | system/drivers/DB_driver.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/drivers/DB_driver.php b/system/drivers/DB_driver.php index 3a2a5e9bc..0c2084ad8 100644 --- a/system/drivers/DB_driver.php +++ b/system/drivers/DB_driver.php @@ -36,6 +36,7 @@ class CI_DB_driver { var $database; var $dbdriver = 'mysql'; var $dbprefix = ''; + var $port = ''; var $pconnect = FALSE; var $conn_id = FALSE; var $result_id = FALSE; @@ -75,7 +76,7 @@ class CI_DB_driver { { if (is_array($params)) { - foreach (array('hostname' => '', 'username' => '', 'password' => '', 'database' => '', 'dbdriver' => 'mysql', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => FALSE) as $key => $val) + foreach (array('hostname' => '', 'username' => '', 'password' => '', 'database' => '', 'dbdriver' => 'mysql', 'dbprefix' => '', 'port' => '', 'pconnect' => FALSE, 'db_debug' => FALSE) as $key => $val) { $this->$key = ( ! isset($params[$key])) ? $val : $params[$key]; } |