From fb64d574cb34f125621ffd86d87b47e4d74b326d Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 6 Jan 2020 17:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=85=E4=B8=8B=E8=BD=BDbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PackageController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/PackageController.class.php b/Application/Home/Controller/PackageController.class.php index 830606409..09f329745 100644 --- a/Application/Home/Controller/PackageController.class.php +++ b/Application/Home/Controller/PackageController.class.php @@ -85,7 +85,7 @@ class PackageController extends Controller private function gotoPkgUrl($packageUrl) { - if (preg_match("/oss/", $packageUrl)) { + if (preg_match("/http/", $packageUrl)) { $url = str_replace('-internal', '', $packageUrl); echo ""; } elseif (preg_match("/clouddn/", $packageUrl)) {