]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't show installation form on checkPrereqs fail.
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 1 Mar 2014 15:27:34 +0000 (16:27 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 1 Mar 2014 15:39:18 +0000 (16:39 +0100)
...and be a bit more instructive on how to continue installing.

install.php

index 14adbe137c7b17b464cc968450c7632c55c3a66b..352d5a143c80ed436a532d6553faec788887e589 100644 (file)
@@ -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;
         }