|
|
@ -77,7 +77,7 @@ class PackageController extends Controller
|
|
|
|
} else if (Request::isIOS()) {
|
|
|
|
} else if (Request::isIOS()) {
|
|
|
|
$plistUrl = substr($packageUrl, 1, strlen($packageUrl));
|
|
|
|
$plistUrl = substr($packageUrl, 1, strlen($packageUrl));
|
|
|
|
header("HTTP/1.1 303 See Other");
|
|
|
|
header("HTTP/1.1 303 See Other");
|
|
|
|
header("Location: "."itms-services://?action=download-manifest&url=" . C('DOMAIN_DOWNLOAD') . "/" . $plistUrl);
|
|
|
|
header("Location: "."itms-services://?action=download-manifest&url=" . C('DOMAIN_DOWNLOAD') . '/' . ltrim($plistUrl, '/'));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$this->gotoPkgUrl($packageUrl);
|
|
|
|
$this->gotoPkgUrl($packageUrl);
|
|
|
|
}
|
|
|
|
}
|
|
|
|