mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".
git-svn-id: http://piwigo.org/svn/branches/2.2@11367 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -50,7 +50,7 @@ $template->assign(
|
||||
'CONTENT_ENCODING' => get_pwg_charset(),
|
||||
'PAGE_TITLE' => strip_tags($title),
|
||||
|
||||
'U_HOME' => make_index_url(),
|
||||
'U_HOME' => get_gallery_home_url(),
|
||||
));
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ if (isset($_COOKIE[session_name()]))
|
||||
if (isset($_GET['act']) and $_GET['act'] == 'logout')
|
||||
{ // logout
|
||||
logout_user();
|
||||
redirect(make_index_url());
|
||||
redirect(get_gallery_home_url());
|
||||
}
|
||||
elseif (!empty($_SESSION['pwg_uid']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user