mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +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));
|
||||
e107::getEvent()->trigger('logout');
|
||||
e107::getRedirect()->redirect(e_BASE.'index.php');
|
||||
e107::getRedirect()->redirect(SITEURL.'index.php');
|
||||
// header('location:'.e_BASE.'index.php');
|
||||
exit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user