From 1e428a04b71f630e823aa992e6aa5591a192075b Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Wed, 25 Mar 2020 19:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=B2=BE=E7=AE=80=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E8=BD=AC=E6=8D=A2=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AutoReseed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/AutoReseed.php b/app/AutoReseed.php index 558f2ad..a8c7971 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -694,11 +694,11 @@ class AutoReseed case 3: // 替换 foreach ($pathArray as $key => $val) { if (strpos($path, $key)===0) { - return $val . substr($path, strlen($key)); + return $val; } } break; - default: + default: // 不变 return $path; break; }