Global missing from mod_logout
This commit is contained in:
parent
9007640e88
commit
fda99305ae
@ -64,6 +64,7 @@ function mod_confirm($request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function mod_logout() {
|
function mod_logout() {
|
||||||
|
global $config;
|
||||||
destroyCookies();
|
destroyCookies();
|
||||||
|
|
||||||
header('Location: ?/', true, $config['redirect_http']);
|
header('Location: ?/', true, $config['redirect_http']);
|
||||||
|
Loading…
Reference in New Issue
Block a user