"setting minimum php version to 5.2"

This commit is contained in:
Ralf Becker 2009-10-12 09:48:04 +00:00
parent 624cf172e8
commit 3cbf249bea

View File

@ -23,7 +23,7 @@ if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
set_magic_quotes_runtime(false);
}
$egw_min_php_version = '5.1';
$egw_min_php_version = '5.2';
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
{
die("eGroupWare requires PHP $egw_min_php_version or greater.<br />Please contact your System Administrator to upgrade PHP!");