Revert "Fix httpOnly flag by mistake.... (#1032)"

This reverts commit 0347bb7053.
This commit is contained in:
Kijin Sung 2018-04-23 00:42:12 +09:00
parent 0347bb7053
commit cfca05c897
4 changed files with 5 additions and 5 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, RX_SSL);
setcookie('rx_uatype', $uatype, 0, null, null, RX_SSL, true);
$_COOKIE['rx_uatype'] = $uatype;
}