From: cajus Date: Mon, 17 Mar 2008 16:33:35 +0000 (+0000) Subject: Fix one TODO entry X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb0c51c3a48091f48f8cbe8daf6e1ee5f70f1beb;p=gosa.git Fix one TODO entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9904 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 3e18c0769..992b15308 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -172,6 +172,7 @@ class userinfo } } + } diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index b687c5fba..ddf91ce4f 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -247,6 +247,11 @@ function dummy_error_handler() { } +/* Bail out for incompatible/old PHP versions */ +if (!version_compare(phpversion(),"5.2.0",">=")){ + echo "PHP version needs to be 5.2.0 or above to run GOsa. Aborted."; + exit(); +} /* Set timezone */ date_default_timezone_set("GMT");