From d803147f0e9169b7754d35c1971d3f4f76fc444e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 11 Feb 2015 23:12:23 +0100 Subject: [PATCH] Fixed cache builder --- .../lib/system/cache/builder/ControllerCacheBuilder.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/ControllerCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ControllerCacheBuilder.class.php index e10123e330..a88d148498 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ControllerCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ControllerCacheBuilder.class.php @@ -51,6 +51,7 @@ class ControllerCacheBuilder extends AbstractCacheBuilder { $controllers = array(); $path .= $type . '/'; + $lowercaseType = $type; $type = ucfirst($type); $files = glob($path . '*' . $type . '.class.php'); if ($files === false) { @@ -65,7 +66,7 @@ class ControllerCacheBuilder extends AbstractCacheBuilder { } $controller = mb_strtolower($match[1]); - $fqn = '\\' . $abbreviation . '\\' . ($isACP ? 'acp\\' : '') . $type . '\\' . $match[1] . $type; + $fqn = '\\' . $abbreviation . '\\' . ($isACP ? 'acp\\' : '') . $lowercaseType . '\\' . $match[1] . $type; $controllers[$controller] = $fqn; } -- 2.20.1