aboutsummaryrefslogtreecommitdiffstats
path: root/include/user.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-06-14 12:14:05 +0000
committerplegall <plg@piwigo.org>2011-06-14 12:14:05 +0000
commit57207cf2ae6b8c12f02cbf23f17e1132a0d03d72 (patch)
tree55bcf9b35c44eb91d80c39393c8b2b27b3eb9319 /include/user.inc.php
parente7f8265da1a7d2db0fd24766e34574ae4259ff66 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/user.inc.php2
1 files changed, 1 insertions, 1 deletions
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']))
{