Code

Added some checks
[gosa.git] / include / functions.inc
index 9f0aef9e4e863c58b4d8d3877fba539620ceed52..62ef01a1edf71db442e37ef64aa69f8f848f51b2 100644 (file)
@@ -2126,5 +2126,11 @@ function gosa_ldap_explode_dn($dn,$config = NULL,$verify_in_ldap=false)
   return($ret);
 }
 
+function is_php4()
+{
+  return (preg_match('/^4/', phpversion()));
+}
+
+
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>