mirror of
https://github.com/moodle/moodle.git
synced 2025-06-03 14:46:35 +02:00
Merged postgresql fix for install.php
This commit is contained in:
parent
a8e44ce43f
commit
dc157df31a
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user