summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-10 13:27:44 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-10 13:27:44 +0100
commit6f6704f3283a7b663f1598bc6013e6658d8d269b (patch)
tree8574a6dcaf138972452a3d12ab0c9882e3029cc8 /system/database/DB.php
parent1fb51fdd28eb7c24431849ad3b6ab35cab9596f6 (diff)
parent16af6afe991381360439135ddb0735dab1280fed (diff)
Merge remote-tracking branch 'upstream/develop' into develop-db-sqlsrv
Diffstat (limited to 'system/database/DB.php')
-rwxr-xr-xsystem/database/DB.php1
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)) : ''