From d0c6dd29d19da4de9966cd9985d467fe1cfab556 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Mar 2013 22:38:05 +0400 Subject: add experimental easy installer --- include/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/db.php') diff --git a/include/db.php b/include/db.php index 0479df6a9..a70a1d878 100644 --- a/include/db.php +++ b/include/db.php @@ -15,7 +15,7 @@ function db_connect($host, $user, $pass, $db) { $string .= " host=$host"; } - if (defined('DB_PORT')) { + if (defined('DB_PORT') && DB_PORT) { $string = "$string port=" . DB_PORT; } -- cgit v1.2.3