From 935f896dd24f47130abc4922ec5a19f6b82bfc46 Mon Sep 17 00:00:00 2001 From: Zetao Yang Date: Mon, 16 Oct 2017 21:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D2?= =?UTF-8?q?=E8=BF=99=E7=B1=BB=E5=9E=8B=E8=8E=B7=E5=8F=96=E5=88=B0=E7=9A=84?= =?UTF-8?q?url=E4=B8=8D=E5=AF=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/phpspider.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/phpspider.php b/core/phpspider.php index 537a12d..d330270 100644 --- a/core/phpspider.php +++ b/core/phpspider.php @@ -1550,6 +1550,9 @@ public function fill_url($url, $collect_url) } else { + $arr = explode("/", $base_url_path); + array_pop($arr); + $base_url_path = implode("/", $arr); $url = $base_url_path.'/'.$url; } }