mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
fixed bug on invalid cookies
This commit is contained in:
parent
4a7208dfe0
commit
258620300b
@ -49,6 +49,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function destroyCookies() {
|
function destroyCookies() {
|
||||||
|
global $config;
|
||||||
// Delete the cookies
|
// Delete the cookies
|
||||||
setcookie($config['cookies']['mod'], 'deleted', time()-$config['cookies']['expire'], $config['cookies']['jail']?$config['root']:'/', null, false, true);
|
setcookie($config['cookies']['mod'], 'deleted', time()-$config['cookies']['expire'], $config['cookies']['jail']?$config['root']:'/', null, false, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user