diff --git a/src/CoreShop/Component/Pimcore/ClassLoader.php b/src/CoreShop/Component/Pimcore/ClassLoader.php index 634503350a..41fad4ee88 100644 --- a/src/CoreShop/Component/Pimcore/ClassLoader.php +++ b/src/CoreShop/Component/Pimcore/ClassLoader.php @@ -68,7 +68,7 @@ public static function forceLoadBrick($brickName) protected static function loadClass($fileName, $className) { if (file_exists($fileName) && !class_exists($className)) { - require_once $className; + require_once $fileName; } }