This commit is contained in:
2021-08-05 16:39:50 +08:00
parent c4d1669d50
commit c75ac94d68
+1 -1
View File
@@ -195,7 +195,7 @@ class Loader extends BaseObject
return false;
}
foreach ($exclude as $value) {
if (str_starts_with($value, $path)) {
if (str_starts_with($path, $value)) {
return true;
}
}