From: hickert Date: Wed, 27 Jul 2011 07:58:42 +0000 (+0000) Subject: Updated loading of the class_cache filei. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=174fc78daa24f8b2fd00e8c0bbcdbf9d6b111ab9;p=gosa.git 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 --- 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");