Revert "Example of the cookie option"

This reverts commit 93a35c251b.
This commit is contained in:
Min-Soo Kim 2018-08-02 00:35:52 +09:00
parent 93a35c251b
commit 25d2e4892a
10 changed files with 4 additions and 36 deletions

View file

@ -73,7 +73,7 @@ class Mobile
$uatype = $uahash . ':' . (self::$_ismobile ? '1' : '0');
if ($cookie !== $uatype)
{
setcookie('rx_uatype', $uatype, 0, null, null, Context::isCookieSSL());
setcookie('rx_uatype', $uatype, 0, null, null, Context::isAlwaysSSL());
$_COOKIE['rx_uatype'] = $uatype;
}