This commit is contained in:
2021-04-14 18:15:29 +08:00
parent d7894086ca
commit 63c5aa8e93
+1 -1
View File
@@ -274,7 +274,7 @@ class Loader extends BaseObject
$_tmp = '';
foreach ($directory as $key => $value) {
$_tmp .= DIRECTORY_SEPARATOR . $value;
if (str_contains($_tmp, $outPath)) {
if (!empty($outPath) && str_contains($_tmp, $outPath)) {
$this->addError($_tmp . '-->' . $value);
break;
}