aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-06-14 12:14:29 +0000
committerplegall <plg@piwigo.org>2011-06-14 12:14:29 +0000
commitfcda5191191c70b613c50c18016b4d6c597183a8 (patch)
treea7f0551caec5410d17dc0c2546fb090eaa9cda31 /include
parentcb25d20be5d9fb08161803df83c155bdfdb64c29 (diff)
merge r11367 from branch 2.2 to trunk
bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL". git-svn-id: http://piwigo.org/svn/trunk@11368 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/page_header.php2
-rw-r--r--include/user.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 3d271ebc9..381162dbd 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -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(),
));
diff --git a/include/user.inc.php b/include/user.inc.php
index c6110ecd1..e02c2f9bf 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -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']))
{