diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-14 10:30:53 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-14 10:30:53 +0100 |
commit | 97d4c29dc465f953c0cdf262840bd882bcc8af72 (patch) | |
tree | ed41339e71a7ae84324099079f0610130b40a070 /system/database/DB.php | |
parent | 2854724143db31f3bb0821c168314de51480bd43 (diff) | |
parent | e35d6943d513b4f016b763eebe8b97a9f1c902e3 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/DB.php')
-rwxr-xr-x | system/database/DB.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/DB.php b/system/database/DB.php index ed6afd7ed..d06ffb40e 100755 --- a/system/database/DB.php +++ b/system/database/DB.php @@ -82,6 +82,7 @@ function &DB($params = '', $active_record_override = NULL) $params = array( 'dbdriver' => $dns['scheme'], 'hostname' => (isset($dns['host'])) ? rawurldecode($dns['host']) : '', + 'port' => (isset($dns['port'])) ? rawurldecode($dns['port']) : '', 'username' => (isset($dns['user'])) ? rawurldecode($dns['user']) : '', 'password' => (isset($dns['pass'])) ? rawurldecode($dns['pass']) : '', 'database' => (isset($dns['path'])) ? rawurldecode(substr($dns['path'], 1)) : '' |