From 174fc78daa24f8b2fd00e8c0bbcdbf9d6b111ab9 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Jul 2011 07:58:42 +0000 Subject: [PATCH] Updated loading of the class_cache filei. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 608aa4d5f..08b460b2b 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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"); -- 2.30.2