File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/internal/Magento/Framework/Filesystem Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public static function validate($config)
94
94
public function __construct ($ root , array $ config = [])
95
95
{
96
96
static ::validate ($ config );
97
- $ this ->root = $ this ->filterPath ($ root );
97
+ $ this ->root = $ this ->normalizePath ($ root );
98
98
$ this ->directories = static ::getDefaultConfig ();
99
99
$ this ->directories [self ::SYS_TMP ] = [self ::PATH => realpath (sys_get_temp_dir ())];
100
100
@@ -109,7 +109,7 @@ public function __construct($root, array $config = [])
109
109
110
110
// filter/validate values
111
111
foreach ($ this ->directories as $ code => $ dir ) {
112
- $ path = $ this ->filterPath ($ dir [self ::PATH ]);
112
+ $ path = $ this ->normalizePath ($ dir [self ::PATH ]);
113
113
if (!$ this ->isAbsolute ($ path )) {
114
114
$ path = $ this ->prependRoot ($ path );
115
115
}
@@ -127,7 +127,7 @@ public function __construct($root, array $config = [])
127
127
* @param string $path
128
128
* @return string
129
129
*/
130
- private function filterPath ($ path )
130
+ private function normalizePath ($ path )
131
131
{
132
132
return str_replace ('\\' , '/ ' , $ path );
133
133
}
You can’t perform that action at this time.
0 commit comments