From: Mikael Nordfeldth Date: Sat, 1 Mar 2014 15:27:34 +0000 (+0100) Subject: Don't show installation form on checkPrereqs fail. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9291225a69c586424fb5a40588c115bf1b78bce1;p=quix0rs-gnu-social.git Don't show installation form on checkPrereqs fail. ...and be a bit more instructive on how to continue installing. --- diff --git a/install.php b/install.php index 14adbe137c..352d5a143c 100644 --- a/install.php +++ b/install.php @@ -118,7 +118,7 @@ class WebInstaller extends Installer function main() { if (!$this->checkPrereqs()) { - $this->showForm(); + $this->warning(_('Please fix the above stated problems and refresh this page to continue installing.')); return; }