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
This commit is contained in:
nikrou
2006-07-28 09:34:27 +00:00
parent f6c2f2b1b1
commit 1873dbd062
5 changed files with 73 additions and 54 deletions
+1 -1
View File
@@ -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',
)