Code

Updated loading of the class_cache filei.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2011 07:58:42 +0000 (07:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2011 07:58:42 +0000 (07:58 +0000)
If we include it using require_once and it is not available, PHP exists with an error message.
We now just include it with include_once, so we are able to act on errors, because the script still runs.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20961 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 608aa4d5fdd2244c84d00dbe1ec0d79adbf98a0f..08b460b2bb33277edb1a0911924b1f05deca6546 100644 (file)
@@ -73,7 +73,7 @@ define('DES3_CBC_MD5',5);
 define('DES3_CBC_SHA1',16);
 
 /* Include required files */
-require_once("class_location.inc");
+include_once("class_location.inc");
 require_once ("functions_debug.inc");
 require_once ("accept-to-gettext.inc");