Don't show installation form on checkPrereqs fail.

...and be a bit more instructive on how to continue installing.
This commit is contained in:
Mikael Nordfeldth 2014-03-01 16:27:34 +01:00
parent 13736bbb89
commit 9291225a69

View File

@ -118,7 +118,7 @@ class WebInstaller extends Installer
function main() function main()
{ {
if (!$this->checkPrereqs()) { if (!$this->checkPrereqs()) {
$this->showForm(); $this->warning(_('Please fix the above stated problems and refresh this page to continue installing.'));
return; return;
} }