PHP required version is 5.3.2

This commit is contained in:
Romain Neutron
2012-04-30 11:58:41 +02:00
parent 555125fcb3
commit 43c68361ca

View File

@@ -534,11 +534,11 @@ class setup
*/ */
public static function check_php_version() public static function check_php_version()
{ {
$version_ok = version_compare(PHP_VERSION, '5.3.4', '>'); $version_ok = version_compare(PHP_VERSION, '5.3.2', '>');
if (!$version_ok) if (!$version_ok)
{ {
$message = sprintf( $message = sprintf(
'Wrong PHP version : % ; PHP >= 5.3.4 required' 'Wrong PHP version : % ; PHP >= 5.3.2 required'
, PHP_VERSION , PHP_VERSION
); );
} }