aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
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 /identification.php
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 'identification.php')
-rw-r--r--identification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/identification.php b/identification.php
index 00b92603a..92b078458 100644
--- a/identification.php
+++ b/identification.php
@@ -60,7 +60,7 @@ if (isset($_POST['login']))
$remember_me = isset($_POST['remember_me']) and $_POST['remember_me']==1;
if ( try_log_user($_POST['username'], $_POST['password'], $remember_me) )
{
- redirect(empty($redirect_to) ? make_index_url() : $redirect_to);
+ redirect(empty($redirect_to) ? get_gallery_home_url() : $redirect_to);
}
else
{