From: Alexander Ebert Date: Wed, 11 Feb 2015 22:12:23 +0000 (+0100) Subject: Fixed cache builder X-Git-Tag: 2.1.0_RC_1~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d803147f0e9169b7754d35c1971d3f4f76fc444e;p=GitHub%2FWoltLab%2FWCF.git Fixed cache builder --- 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; }