From 09672d13b4f8889420e38f98780b9d80bbb8e6ab Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 7 Nov 2019 12:26:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E5=8C=85bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/GameSourceService.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Application/Base/Service/GameSourceService.class.php b/Application/Base/Service/GameSourceService.class.php index f38f52b67..1a4f94185 100644 --- a/Application/Base/Service/GameSourceService.class.php +++ b/Application/Base/Service/GameSourceService.class.php @@ -137,6 +137,7 @@ class GameSourceService { $oldLocalPath = $localPath; $localPath = str_replace('Uploads/SourcePack', 'Uploads/Ios/original', $oldLocalPath); $originalUrl = $relativeUrl; + $relativeUrl = str_replace('Uploads/SourcePack', 'Uploads/Ios/original', $relativeUrl); copy($oldLocalPath, $localPath); } $status = $this->packChannel($localPath, $game, $gameSource);