From dc157df31ada68517f873b22f6f5ee993e267573 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 31 Aug 2004 12:49:43 +0000 Subject: [PATCH] Merged postgresql fix for install.php --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index fdc346888d..75314f1768 100644 --- a/install.php +++ b/install.php @@ -281,7 +281,7 @@ if ($nextstage == 5) { $str .= '$CFG->dbtype = \''.$INSTALL['dbtype']."';\r\n"; $str .= '$CFG->dbhost = \''.$INSTALL['dbhost']."';\r\n"; - if ($INSTALL['dbtype'] == 'mysql') { + if (empty($INSTALL['dbname'])) { $str .= '$CFG->dbname = \''.$INSTALL['dbname']."';\r\n"; $str .= '$CFG->dbuser = \''.$INSTALL['dbuser']."';\r\n"; $str .= '$CFG->dbpass = \''.$INSTALL['dbpass']."';\r\n"; -- 2.39.5