|
|
|
@ -224,6 +224,9 @@ class HomeController extends Controller
|
|
|
|
|
$isNewIos = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 调试
|
|
|
|
|
$isIOS = true;
|
|
|
|
|
|
|
|
|
|
$downloadUrl = '';
|
|
|
|
|
if (!$isNewIos && $isIOS13) {
|
|
|
|
|
$downloadUrl = 'itms-services://?action=download-manifest&url=' . Request::getHost() . ltrim($gameSource['org_plist_url'], '.');
|
|
|
|
@ -243,7 +246,7 @@ class HomeController extends Controller
|
|
|
|
|
$this->assign('promoteId', $promoteId);
|
|
|
|
|
$cur_url = base64_encode(base64_encode("http://" . $_SERVER['HTTP_HOST'] . __SELF__));
|
|
|
|
|
$this->assign('cur_url', $cur_url);
|
|
|
|
|
if ($this->get_device_type() == 'ios') {
|
|
|
|
|
if ($isIOS) {
|
|
|
|
|
$this->display('landingPage');
|
|
|
|
|
} else {
|
|
|
|
|
$this->display('landingPage2');
|
|
|
|
|