Changeset 13106


Ignore:
Timestamp:
02/11/12 23:39:56 (8 years ago)
Author:
plg
Message:

merge r13105 from branch 2.3 to trunk

bug 2551 fixed: force the use of $confgallery_url (thanks to the
get_gallery_home_url function) to build subscribe/unsubscribe links
in NBM emails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_notification_by_mail.inc.php

    r12922 r13106  
    340340      'SEND_AS_NAME' => $env_nbm['send_as_name'], 
    341341 
    342       'UNSUBSCRIBE_LINK' => add_url_params(get_root_url().'nbm.php', array('unsubscribe' => $nbm_user['check_key'])), 
    343       'SUBSCRIBE_LINK' => add_url_params(get_root_url().'nbm.php', array('subscribe' => $nbm_user['check_key'])), 
     342      'UNSUBSCRIBE_LINK' => add_url_params(get_gallery_home_url().'/nbm.php', array('unsubscribe' => $nbm_user['check_key'])), 
     343      'SUBSCRIBE_LINK' => add_url_params(get_gallery_home_url().'/nbm.php', array('subscribe' => $nbm_user['check_key'])), 
    344344      'CONTACT_EMAIL' => $env_nbm['send_as_mail_address'] 
    345345    ) 
Note: See TracChangeset for help on using the changeset viewer.