From 25c6cde1198027476120b86a72db080cc3a665f2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Jul 2011 07:42:41 +0000 Subject: [PATCH] Removed last in_array call git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 63150502f..e54305159 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -140,7 +140,7 @@ if (!session::global_is_set('plist')){ /* Initially load all classes */ $class_list= get_declared_classes(); foreach ($class_mapping as $class => $path){ - if (!in_array($class, $class_list)){ + if (!in_array_strict($class, $class_list)){ if (is_readable("$BASE_DIR/$path")){ require_once("$BASE_DIR/$path"); } else { -- 2.30.2