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
This commit is contained in:
Brion Vibber 2010-07-30 13:16:47 -07:00
parent fb2e00eacc
commit 0caebc9308

View File

@ -91,7 +91,7 @@ abstract class Installer
} }
if (version_compare(PHP_VERSION, '5.2.3', '<')) { 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; $pass = false;
} }