Merge pull request #213 from badziew/patch-1

bugfix: DB_PORT was not used in one of db_connect calls
This commit is contained in:
Andrew Dolgov 2013-05-29 21:35:05 -07:00
commit a169cd6f47
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@
} else if ($op == 'installschema' || $op == 'skipschema') { } 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) { if (!$link) {
print_error("Unable to connect to database using specified parameters."); print_error("Unable to connect to database using specified parameters.");