This commit is contained in:
2021-04-19 11:54:01 +08:00
parent 85a1b6e399
commit e9135688fc
+4
View File
@@ -140,6 +140,8 @@ class Loader extends BaseObject
$iterator = new DirectoryIterator($path->getRealPath());
$this->_scanDir($iterator, $namespace);
var_dump(__LINE__ . '->' . rtrim($path->getRealPath(), '/'));
$this->_directory[rtrim($path->getRealPath(), '/')] = [];
} else {
$this->readFile($path, $namespace);
@@ -149,6 +151,8 @@ class Loader extends BaseObject
$directory = '/' . implode('/', $array);
var_dump(__LINE__ . '->' . $directory);
$this->_directory[$directory][] = $directory;
}
}