diff --git a/Application/Home/Controller/PackageController.class.php b/Application/Home/Controller/PackageController.class.php index de52a1e82..6057c68da 100644 --- a/Application/Home/Controller/PackageController.class.php +++ b/Application/Home/Controller/PackageController.class.php @@ -113,7 +113,7 @@ class PackageController extends Controller if (!file_exists($packageUrl)) { $this->error('文件不存在哦,亲!'); }else{ - redirect(Request::getHost() . ltrim($packageUrl, '.')); + redirect(C('DOMAIN_DOWNLOAD') . ltrim($packageUrl, '.')); } } }