Index: trunk/phase3/includes/installer/PostgresInstaller.php |
— | — | @@ -35,6 +35,11 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | function getConnectForm() { |
| 39 | + // If this is our first time here, switch the default user presented in the form |
| 40 | + if ( ! $this->getVar('_switchedInstallUser') ) { |
| 41 | + $this->setVar('_InstallUser', 'postgres'); |
| 42 | + $this->setVar('_switchedInstallUser', true); |
| 43 | + } |
39 | 44 | return |
40 | 45 | $this->getTextBox( 'wgDBserver', 'config-db-host', array(), $this->parent->getHelpBox( 'config-db-host-help' ) ) . |
41 | 46 | $this->getTextBox( 'wgDBport', 'config-db-port' ) . |