MFT r89770
authorMark A. Hershberger <mah@users.mediawiki.org>
Thu, 9 Jun 2011 15:42:23 +0000 (15:42 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Thu, 9 Jun 2011 15:42:23 +0000 (15:42 +0000)
includes/installer/CliInstaller.php

index 7aebc10..ccabedb 100644 (file)
@@ -77,6 +77,11 @@ class CliInstaller extends Installer {
                                $this->getVar( 'wgDBuser' ) );
                        $this->setVar( '_InstallPassword',
                                $this->getVar( 'wgDBpassword' ) );
+               } else {
+                       $this->setVar( '_InstallUser',
+                               $option['installdbuser'] );
+                       $this->setVar( '_InstallPassword',
+                               $option['installdbpass'] );
                }
 
                if ( isset( $option['pass'] ) ) {