From 6e87d5c700435be8d324781768fb16ee270de2c0 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Wed, 15 Dec 2021 18:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/GameSourceService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Service/GameSourceService.class.php b/Application/Base/Service/GameSourceService.class.php index 01cf72900..67e791727 100644 --- a/Application/Base/Service/GameSourceService.class.php +++ b/Application/Base/Service/GameSourceService.class.php @@ -242,7 +242,7 @@ class GameSourceService { } if ($this->isRemoteFile($file)) { $urlInfo = parse_url($file); - $objectName = trim('/', $urlInfo['path']); + $objectName = trim($urlInfo['path'], '/'); $this->deletePackage($objectName); } else { $olderPackage = ROOTTT . substr($file, 2);