This commit is contained in:
as2252258@163.com
2021-04-08 01:38:56 +08:00
parent 0b5404055d
commit c774271343
+3 -1
View File
@@ -266,7 +266,9 @@ class Loader extends BaseObject
$tree = null; $tree = null;
$directory = $this->splitDirectory($filePath); $directory = $this->splitDirectory($filePath);
$output = DIRECTORY_SEPARATOR . rtrim($output, '/'); if (!empty($output)) {
$output = DIRECTORY_SEPARATOR . rtrim($output, '/');
}
$out_path = ''; $out_path = '';
foreach ($directory as $key => $value) { foreach ($directory as $key => $value) {