mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Change default Cookie path to "/" for compatibility with JS function setCookie()
This commit is contained in:
parent
8d2b7101f4
commit
80e50d41f5
5 changed files with 6 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ class Mobile
|
|||
$uatype = $uahash . ':' . (self::$_ismobile ? '1' : '0');
|
||||
if ($cookie !== $uatype)
|
||||
{
|
||||
Rhymix\Framework\Cookie::set('rx_uatype', $uatype, ['expires' => 0]);
|
||||
Rhymix\Framework\Cookie::set('rx_uatype', $uatype, ['expires' => 0, 'path' => \RX_BASEURL]);
|
||||
}
|
||||
|
||||
return self::$_ismobile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue