bugfix: DB_PORT was not used in one of db_connect calls

This commit is contained in:
Krzysztof Sikorski 2013-05-30 02:53:16 +03:00
parent 37f00f7fcc
commit 50d5645b9f

View file

@ -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.");