summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-29 21:35:05 -0700
committerAndrew Dolgov <[email protected]>2013-05-29 21:35:05 -0700
commita169cd6f47dc450022f47cbf3afe1f98b29a70d4 (patch)
tree66c842ee60709a092782f1b4cd7c9f250f51eccc
parent37f00f7fcc4ad076c1a54ad890d6b86edd2185d8 (diff)
parent50d5645b9f77b5341ade0026f99076f82692a9b7 (diff)
Merge pull request #213 from badziew/patch-1
bugfix: DB_PORT was not used in one of db_connect calls
-rw-r--r--install/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php
index 06f13fe14..ec064c0a7 100644
--- a/install/index.php
+++ b/install/index.php
@@ -406,7 +406,7 @@
} else if ($op == 'installschema' || $op == 'skipschema') {
- $link = db_connect($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME, $DB_TYPE);
+ $link = db_connect($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME, $DB_TYPE, $DB_PORT);
if (!$link) {
print_error("Unable to connect to database using specified parameters.");