mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Unset rx_color_scheme cookie if an invalid value is set
This commit is contained in:
parent
0237d5c759
commit
237f3b295d
1 changed files with 1 additions and 0 deletions
|
|
@ -472,6 +472,7 @@ class UA
|
|||
}
|
||||
else
|
||||
{
|
||||
unset($_COOKIE['rx_color_scheme']);
|
||||
setcookie('rx_color_scheme', 'deleted', time() - 86400, \RX_BASEURL, null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue