Skip to content

Commit ee355fe

Browse files
author
Olga Kopylova
committed
MAGETWO-43774: Incorrect paths on Windows
- applied lost fix
1 parent 1be3df8 commit ee355fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Component/ComponentRegistrar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function register($type, $componentName, $path)
4848
if (isset(self::$paths[$type][$componentName])) {
4949
throw new \LogicException('\'' . $componentName . '\' component already exists');
5050
} else {
51-
self::$paths[$type][$componentName] = $path;
51+
self::$paths[$type][$componentName] = str_replace('\\', '/', $path);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)