fixed bug on invalid cookies

This commit is contained in:
Savetheinternet 2011-03-26 12:38:07 +11:00
parent 122181a836
commit ab5bece9d5

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