diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-26 12:38:07 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-26 12:38:07 +1100 |
| commit | ab5bece9d54306a12ac9fa8af9d99ffc04584353 (patch) | |
| tree | cd682bbe5025029b4f950a8d34a0231527d70cdf | |
| parent | 122181a8362da09afb43e97ded42ae3e8920fbf9 (diff) | |
fixed bug on invalid cookies
| -rw-r--r-- | inc/mod.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/mod.php b/inc/mod.php index bc54a23a..4a4de79e 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -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); |
