Index: trunk/phase3/includes/DatabasePostgres.php |
— | — | @@ -85,7 +85,7 @@ |
86 | 86 | $this->mOpened = true; |
87 | 87 | ## If this is the initial connection, setup the schema stuff and possibly create the user |
88 | 88 | if (defined('MEDIAWIKI_INSTALL')) { |
89 | | - global $wgDBname, $wgDBuser, $wgDBpass, $wgDBsuperuser, $wgDBmwschema, |
| 89 | + global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, |
90 | 90 | $wgDBts2schema, $wgDBts2locale; |
91 | 91 | print "OK</li>\n"; |
92 | 92 | |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | dieout('</ul>'); |
133 | 133 | } |
134 | 134 | print "<li>Creating user <b>$wgDBuser</b>..."; |
135 | | - $safepass = $this->addQuotes($wgDBpass); |
| 135 | + $safepass = $this->addQuotes($wgDBpassword); |
136 | 136 | $SQL = "CREATE USER $safeuser NOCREATEDB PASSWORD $safepass"; |
137 | 137 | $this->doQuery($SQL); |
138 | 138 | print "OK</li>\n"; |