summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-28 13:48:55 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-28 13:48:55 +0100
commit575bbfe97e4f0e3ad88558454fb2c87d372a7651 (patch)
treeeec271f209f8a7539b3b519be3a68e067f24562a /system/database/DB.php
parentd33e24c2a649420d420ad9b11efb1bbf2421114c (diff)
parent0aa8c60ae7eee0122c42ae17d42fd5471a575743 (diff)
Merge remote-tracking branch 'upstream/develop' into develop-db-sqlite
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)) : ''