改名
This commit is contained in:
@@ -274,7 +274,7 @@ class Loader extends BaseObject
|
|||||||
$_tmp = '';
|
$_tmp = '';
|
||||||
foreach ($directory as $key => $value) {
|
foreach ($directory as $key => $value) {
|
||||||
$_tmp .= DIRECTORY_SEPARATOR . $value;
|
$_tmp .= DIRECTORY_SEPARATOR . $value;
|
||||||
if (str_contains($_tmp, $outPath)) {
|
if (!empty($outPath) && str_contains($_tmp, $outPath)) {
|
||||||
$this->addError($_tmp . '-->' . $value);
|
$this->addError($_tmp . '-->' . $value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user