forked from leftypol/leftypol
Global missing from mod_logout
This commit is contained in:
parent
9007640e88
commit
fda99305ae
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ function mod_confirm($request) {
|
|||
}
|
||||
|
||||
function mod_logout() {
|
||||
global $config;
|
||||
destroyCookies();
|
||||
|
||||
header('Location: ?/', true, $config['redirect_http']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue