Followup r79684: forgot to commit a file
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 6 Jan 2011 17:41:09 +0000 (17:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 6 Jan 2011 17:41:09 +0000 (17:41 +0000)
maintenance/install.php

index ef0e71e..fb509cf 100644 (file)
@@ -68,7 +68,13 @@ class CommandLineInstaller extends Maintenance {
                        new CliInstaller( $siteName, $adminName, $this->mOptions );
 
                if ( $this->hasOption( 'env-checks' ) ) {
-                       $installer->doEnvironmentChecks();
+                       $status = $installer->doEnvironmentChecks();
+                       if( $status->isGood() ) {
+                               $installer->showMessage( 'config-env-good' );
+                       } else {
+                               $installer->showStatusMessage( $status );
+                               return;
+                       }
                } else {
                        $installer->execute();
                        $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );