This commit is contained in:
as2252258@163.com
2021-04-08 01:44:13 +08:00
parent 1e23e299e7
commit 6db6e071aa
+1 -1
View File
@@ -273,12 +273,12 @@ class Loader extends BaseObject
$out_path = ''; $out_path = '';
foreach ($directory as $key => $value) { foreach ($directory as $key => $value) {
$out_path .= DIRECTORY_SEPARATOR . $value; $out_path .= DIRECTORY_SEPARATOR . $value;
var_dump($out_path, $output);
if ($out_path === $output) { if ($out_path === $output) {
break; break;
} }
$tree = $this->getTree($tree, $value); $tree = $this->getTree($tree, $value);
} }
var_dump($tree);
if ($tree instanceof FileTree) { if ($tree instanceof FileTree) {
$this->eachNode($tree->getChildes()); $this->eachNode($tree->getChildes());
$this->execute($tree->getFiles()); $this->execute($tree->getFiles());