This commit is contained in:
2021-04-19 15:28:07 +08:00
parent 6ab9b24018
commit 1d9cf8928a
+1 -1
View File
@@ -235,7 +235,7 @@ class Loader extends BaseObject
return;
}
foreach ($this->_directory as $key => $_path) {
if (!str_contains($key, $path)) {
if (!str_starts_with($key, $path)) {
continue;
}
// if (!empty($outPath) && in_array($key, $outPath)) continue;