This commit is contained in:
2021-04-19 15:43:56 +08:00
parent 2edcdf9231
commit aa738e1b5e
-5
View File
@@ -234,11 +234,6 @@ class Loader extends BaseObject
if (!isset($this->_directory[$path])) {
return;
}
if (empty($outPath)) {
$outPath = [];
} else if (is_string($outPath)) {
$outPath = [$outPath];
}
foreach ($this->_directory as $key => $_path) {
$key = '/' . trim($key, '/');
if (!str_starts_with($key, $path)) {