mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
PHP required version is 5.3.2
This commit is contained in:
@@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user