1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Bugtracker #4741 - Handle redirect if JS disabled

This commit is contained in:
e107steved
2009-05-26 20:18:07 +00:00
parent 1dbc83217a
commit 39da6f247a

View File

@@ -9,8 +9,8 @@
* General purpose file * General purpose file
* *
* $Source: /cvs_backup/e107_0.8/class2.php,v $ * $Source: /cvs_backup/e107_0.8/class2.php,v $
* $Revision: 1.94 $ * $Revision: 1.95 $
* $Date: 2009-03-23 22:14:56 $ * $Date: 2009-05-26 20:17:57 $
* $Author: e107steved $ * $Author: e107steved $
* *
*/ */
@@ -888,9 +888,9 @@ if ((e_QUERY == 'logout') || (($pref['user_tracking'] == 'session') && isset($_S
} }
cookie(e_COOKIE, '', (time() - 2592000)); cookie(e_COOKIE, '', (time() - 2592000));
$e_event->trigger("logout"); $e_event->trigger('logout');
echo "<script type='text/javascript'>document.location.href = '".SITEURL."index.php'</script>\n"; header('location:'.e_BASE.'index.php');
exit; exit();
} }