...
|
...
|
@@ -118,7 +118,7 @@ class CouponController extends AbstractAction |
|
|
*/
|
|
|
public function isApp()
|
|
|
{
|
|
|
$userAgent = $this->getUserAgent();
|
|
|
/* $userAgent = $this->getUserAgent();
|
|
|
if (stristr($userAgent, 'ipad')) {
|
|
|
return false;
|
|
|
}
|
...
|
...
|
@@ -129,8 +129,9 @@ class CouponController extends AbstractAction |
|
|
$isMobile = true;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
return $isMobile;
|
|
|
}*/
|
|
|
$isMobile = $this->get('app_version');
|
|
|
return !empty($isMobile);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|