改名
This commit is contained in:
@@ -234,11 +234,6 @@ class Loader extends BaseObject
|
|||||||
if (!isset($this->_directory[$path])) {
|
if (!isset($this->_directory[$path])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (empty($outPath)) {
|
|
||||||
$outPath = [];
|
|
||||||
} else if (is_string($outPath)) {
|
|
||||||
$outPath = [$outPath];
|
|
||||||
}
|
|
||||||
foreach ($this->_directory as $key => $_path) {
|
foreach ($this->_directory as $key => $_path) {
|
||||||
$key = '/' . trim($key, '/');
|
$key = '/' . trim($key, '/');
|
||||||
if (!str_starts_with($key, $path)) {
|
if (!str_starts_with($key, $path)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user