File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ public function generateHash($content, int $length = null)
103103
104104 public function getResourcesPath ()
105105 {
106- return Path:: system ( $ this ->_projectRoot , self ::RESOURCES_DIR ) ;
106+ return $ this ->_projectRoot . DIRECTORY_SEPARATOR . self ::RESOURCES_DIR ;
107107 }
108108
109109 public function getPublicPath ()
110110 {
111- return Path:: system ( $ this ->_projectRoot , self ::PUBLIC_DIR ) ;
111+ return $ this ->_projectRoot . DIRECTORY_SEPARATOR . self ::PUBLIC_DIR ;
112112 }
113113
114114 public function getVendorPath ($ vendor , $ package )
@@ -263,7 +263,7 @@ public function componentClassResourcePath($class)
263263 {
264264 throw new RuntimeException ("Unable to load class " );
265265 }
266- return Path:: system ( dirname (realpath ($ file )), '_resources ' ) ;
266+ return dirname (realpath ($ file )) . DIRECTORY_SEPARATOR . '_resources ' ;
267267 }
268268 // @codeCoverageIgnoreStart
269269 throw new RuntimeException ("No Class Loader Defined " );
You can’t perform that action at this time.
0 commit comments