diff --git a/Application/Home/Controller/PackageController.class.php b/Application/Home/Controller/PackageController.class.php index 09f329745..e1f819587 100644 --- a/Application/Home/Controller/PackageController.class.php +++ b/Application/Home/Controller/PackageController.class.php @@ -77,7 +77,7 @@ class PackageController extends Controller } else if (Request::isIOS()) { $plistUrl = substr($packageUrl, 1, strlen($packageUrl)); header("HTTP/1.1 303 See Other"); - header("Location: "."itms-services://?action=download-manifest&url=" . Request::getHost() . "/" . $plistUrl); + header("Location: "."itms-services://?action=download-manifest&url=" . C('DOMAIN_DOWNLOAD') . "/" . $plistUrl); } else { $this->gotoPkgUrl($packageUrl); }