From 1873dbd0623cf61b95dedcbb0ee31bec416efd46 Mon Sep 17 00:00:00 2001 From: nikrou Date: Fri, 28 Jul 2006 09:34:27 +0000 Subject: Fix bug 451: improvement small problem with reconnexion after session timeout add auto-login function all staff for session (connexion, auto-login and logout) is now in include/user.inc.php git-svn-id: http://piwigo.org/svn/trunk@1511 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/menubar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/menubar.inc.php') diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 48f372d5a..822f19fec 100755 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -44,7 +44,7 @@ $template->assign_vars( 'U_HOME' => make_index_url(), 'U_REGISTER' => get_root_url().'register.php', 'U_LOST_PASSWORD' => get_root_url().'password.php', - 'U_LOGOUT' => add_url_params(make_index_url(), array('act'=>'logout') ), + 'U_LOGOUT' => get_root_url().'?act=logout', 'U_ADMIN'=> get_root_url().'admin.php', 'U_PROFILE'=> get_root_url().'profile.php', ) -- cgit v1.2.3