Changeset 11367


Ignore:
Timestamp:
Jun 14, 2011, 2:14:05 PM (9 years ago)
Author:
plg
Message:

bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".

Location:
branches/2.2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin.php

    r11328 r11367  
    150150    'U_GROUPS'=> $link_start.'group_list',
    151151    'U_PERMALINKS'=> $link_start.'permalinks',
    152     'U_RETURN'=> make_index_url(),
     152    'U_RETURN'=> get_gallery_home_url(),
    153153    'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php',
    154154    'U_LOGOUT'=> PHPWG_ROOT_PATH.'index.php?act=logout',
  • branches/2.2/identification.php

    r8728 r11367  
    5959    if ( try_log_user($_POST['username'], $_POST['password'], $remember_me) )
    6060    {
    61       redirect(empty($redirect_to) ? make_index_url() : $redirect_to);
     61      redirect(empty($redirect_to) ? get_gallery_home_url() : $redirect_to);
    6262    }
    6363    else
  • branches/2.2/include/page_header.php

    r8728 r11367  
    5151    'PAGE_TITLE' => strip_tags($title),
    5252
    53     'U_HOME' => make_index_url(),
     53    'U_HOME' => get_gallery_home_url(),
    5454    ));
    5555
  • branches/2.2/include/user.inc.php

    r8728 r11367  
    3131  { // logout
    3232    logout_user();
    33     redirect(make_index_url());
     33    redirect(get_gallery_home_url());
    3434  }
    3535  elseif (!empty($_SESSION['pwg_uid']))
Note: See TracChangeset for help on using the changeset viewer.