From 57207cf2ae6b8c12f02cbf23f17e1132a0d03d72 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 14 Jun 2011 12:14:05 +0000 Subject: 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 --- include/user.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/user.inc.php') 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'])) { -- cgit v1.2.3