Do not explicitly set the domain for session cookies

This commit is contained in:
Kijin Sung 2017-02-17 19:32:58 +09:00
parent 0801c1283e
commit 780034d4ee
2 changed files with 11 additions and 27 deletions

View file

@ -73,7 +73,7 @@ class Mobile
$uatype = $uahash . ':' . (self::$_ismobile ? '1' : '0');
if ($cookie !== $uatype)
{
setcookie('rx_uatype', $uatype, 0, RX_BASEURL, Rhymix\Framework\Session::getDomain());
setcookie('rx_uatype', $uatype, 0);
$_COOKIE['rx_uatype'] = $uatype;
}