This commit is contained in:
2021-04-19 11:59:03 +08:00
parent 49b78255d6
commit 63843e0720
+1 -1
View File
@@ -231,7 +231,7 @@ class Loader extends BaseObject
return; return;
} }
foreach ($this->_directory[$path] as $key => $_path) { foreach ($this->_directory[$path] as $key => $_path) {
if (!str_starts_with($key, $_path)) { if (!str_starts_with($key, $path)) {
continue; continue;
} }
$this->execute($this->_directory[$_path]); $this->execute($this->_directory[$_path]);