1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 18:47:20 +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() { 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);