1
0
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:
Savetheinternet 2011-03-26 12:38:07 +11:00
parent 4a7208dfe0
commit 258620300b

View File

@ -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);