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:
commit
a169cd6f47
|
@ -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.");
|
||||||
|
|
Loading…
Reference in New Issue