Revert "Improve cookie secure setting values"

This reverts commit 73da2af393.
This commit is contained in:
Kijin Sung 2018-04-23 00:43:24 +09:00
parent cfca05c897
commit 591e9cb270
6 changed files with 7 additions and 12 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, true);
setcookie('rx_uatype', $uatype, 0);
$_COOKIE['rx_uatype'] = $uatype;
}