From ee355feffe5b05f6b542b54f52c075c0f339e70d Mon Sep 17 00:00:00 2001 From: Olga Kopylova <okopylova@ebay.com> Date: Thu, 29 Oct 2015 08:38:29 -0500 Subject: [PATCH] MAGETWO-43774: Incorrect paths on Windows - applied lost fix --- lib/internal/Magento/Framework/Component/ComponentRegistrar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Component/ComponentRegistrar.php b/lib/internal/Magento/Framework/Component/ComponentRegistrar.php index c2c928b2376..44258c7f135 100644 --- a/lib/internal/Magento/Framework/Component/ComponentRegistrar.php +++ b/lib/internal/Magento/Framework/Component/ComponentRegistrar.php @@ -48,7 +48,7 @@ class ComponentRegistrar implements ComponentRegistrarInterface if (isset(self::$paths[$type][$componentName])) { throw new \LogicException('\'' . $componentName . '\' component already exists'); } else { - self::$paths[$type][$componentName] = $path; + self::$paths[$type][$componentName] = str_replace('\\', '/', $path); } } -- GitLab