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