]> git.wh0rd.org Git - tt-rss.git/commitdiff
bugfix: DB_PORT was not used in one of db_connect calls
authorKrzysztof Sikorski <krzysztof.sikorski@zerozero.pl>
Wed, 29 May 2013 23:53:16 +0000 (02:53 +0300)
committerKrzysztof Sikorski <krzysztof.sikorski@zerozero.pl>
Wed, 29 May 2013 23:53:16 +0000 (02:53 +0300)
install/index.php

index 06f13fe142a9626a044f513d87c08767c2dc4260..ec064c0a7055b48a9b17b41b0df4162246472cac 100644 (file)
 
                } 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.");