From: Brion Vibber Date: Fri, 30 Jul 2010 20:16:47 +0000 (-0700) Subject: Fix for ticket #2471: install.php returns unsuccessfully but doesn't display error... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0caebc93084b160987239f34b25acadd3aff1fa4;p=quix0rs-gnu-social.git Fix for ticket #2471: install.php returns unsuccessfully but doesn't display error message if PHP < 5.2.6 is used http://status.net/open-source/issues/2471 Old bit of code didn't get updated for new installer --- diff --git a/lib/installer.php b/lib/installer.php index bd9d69cd4a..ff2bed1403 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -91,7 +91,7 @@ abstract class Installer } if (version_compare(PHP_VERSION, '5.2.3', '<')) { - $errors[] = 'Require PHP version 5.2.3 or greater.'; + $this->warning('Require PHP version 5.2.3 or greater.'); $pass = false; }