Index: trunk/phase3/maintenance/install.php |
— | — | @@ -68,7 +68,13 @@ |
69 | 69 | new CliInstaller( $siteName, $adminName, $this->mOptions ); |
70 | 70 | |
71 | 71 | if ( $this->hasOption( 'env-checks' ) ) { |
72 | | - $installer->doEnvironmentChecks(); |
| 72 | + $status = $installer->doEnvironmentChecks(); |
| 73 | + if( $status->isGood() ) { |
| 74 | + $installer->showMessage( 'config-env-good' ); |
| 75 | + } else { |
| 76 | + $installer->showStatusMessage( $status ); |
| 77 | + return; |
| 78 | + } |
73 | 79 | } else { |
74 | 80 | $installer->execute(); |
75 | 81 | $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) ); |