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

73da2af393 fix.
This commit is contained in:
Min-Soo Kim 2018-04-23 00:17:26 +09:00 committed by GitHub
parent 73da2af393
commit 0347bb7053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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, true);
setcookie('rx_uatype', $uatype, 0, null, null, RX_SSL);
$_COOKIE['rx_uatype'] = $uatype;
}