bug 2551 fixed: force the use of $conf['gallery_url'] (thanks to the

get_gallery_home_url function) to build subscribe/unsubscribe links
in NBM emails.


git-svn-id: http://piwigo.org/svn/branches/2.3@13105 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-02-11 22:39:24 +00:00
parent fab6a3ad4f
commit d9ba5f4012
@@ -339,8 +339,8 @@ function assign_vars_nbm_mail_content($nbm_user)
'SEND_AS_NAME' => $env_nbm['send_as_name'],
'UNSUBSCRIBE_LINK' => add_url_params(get_root_url().'nbm.php', array('unsubscribe' => $nbm_user['check_key'])),
'SUBSCRIBE_LINK' => add_url_params(get_root_url().'nbm.php', array('subscribe' => $nbm_user['check_key'])),
'UNSUBSCRIBE_LINK' => add_url_params(get_gallery_home_url().'/nbm.php', array('unsubscribe' => $nbm_user['check_key'])),
'SUBSCRIBE_LINK' => add_url_params(get_gallery_home_url().'/nbm.php', array('subscribe' => $nbm_user['check_key'])),
'CONTACT_EMAIL' => $env_nbm['send_as_mail_address']
)
);