mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
proper logout redirect link
This commit is contained in:
@@ -812,7 +812,7 @@ if ((e_QUERY == 'logout')/* || (($pref['user_tracking'] == 'session') && isset($
|
|||||||
|
|
||||||
cookie(e_COOKIE, '', (time() - 2592000));
|
cookie(e_COOKIE, '', (time() - 2592000));
|
||||||
e107::getEvent()->trigger('logout');
|
e107::getEvent()->trigger('logout');
|
||||||
e107::getRedirect()->redirect(e_BASE.'index.php');
|
e107::getRedirect()->redirect(SITEURL.'index.php');
|
||||||
// header('location:'.e_BASE.'index.php');
|
// header('location:'.e_BASE.'index.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user