File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ trait Path
2727 */
2828 public function path ($ path = '' )
2929 {
30- return rtrim (EVO_CORE_PATH , ' / ' ) . ($ path ? DIRECTORY_SEPARATOR . $ path : $ path );
30+ return rtrim (EVO_CORE_PATH , DIRECTORY_SEPARATOR ) . ($ path ? DIRECTORY_SEPARATOR . $ path : $ path );
3131 }
3232
3333 /**
@@ -137,7 +137,7 @@ public function useDatabasePath($path)
137137 */
138138 public function resourcePath ($ path = '' )
139139 {
140- return $ this ->publicPath () . DIRECTORY_SEPARATOR . 'assets ' . ($ path ? DIRECTORY_SEPARATOR . $ path : $ path );
140+ return rtrim ( $ this ->publicPath (), DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR . 'assets ' . ($ path ? DIRECTORY_SEPARATOR . $ path : $ path );
141141 }
142142
143143 /**
@@ -388,5 +388,4 @@ public function terminate()
388388 {
389389
390390 }
391-
392391}
You can’t perform that action at this time.
0 commit comments