Code

Fix one TODO entry
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Mar 2008 16:33:35 +0000 (16:33 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Mar 2008 16:33:35 +0000 (16:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9904 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc
gosa-core/include/php_setup.inc

index 3e18c076950cc0fd0c4a6fb101ed61ce09859008..992b15308ce5df451e560b678ad886ba307cade5 100644 (file)
@@ -172,6 +172,7 @@ class userinfo
       }
 
     }
+
   }
 
 
index b687c5fba340194ae3c9cefcf22b010d1161c29b..ddf91ce4f66fda4547b0595c0256500b82907395 100644 (file)
@@ -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");