mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-26 00:10:55 +01:00
fixed bug on invalid cookies
This commit is contained in:
parent
4a7208dfe0
commit
258620300b
@ -49,6 +49,7 @@
|
||||
}
|
||||
|
||||
function destroyCookies() {
|
||||
global $config;
|
||||
// Delete the cookies
|
||||
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