forked from GNUsocial/gnu-social
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:
parent
fb2e00eacc
commit
0caebc9308
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user