Dotclear


Ignore:
Timestamp:
10/07/16 08:07:27 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.10
Message:

Autant être cohérent :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r3352 r3358  
    8888          $recover_key = $core->auth->setRecoverKey($user_id,$user_email); 
    8989 
    90           $subject = mail::B64Header('DotClear '.__('Password reset')); 
     90          $subject = mail::B64Header('Dotclear '.__('Password reset')); 
    9191          $message = 
    9292          __('Someone has requested to reset the password for the following site and username.')."\n\n". 
     
    113113          $recover_res = $core->auth->recoverUserPassword($akey); 
    114114 
    115           $subject = mb_encode_mimeheader('DotClear '.__('Your new password'),'UTF-8','B'); 
     115          $subject = mb_encode_mimeheader('Dotclear '.__('Your new password'),'UTF-8','B'); 
    116116          $message = 
    117117          __('Username:').' '.$recover_res['user_id']."\n". 
     
    119119          preg_replace('/\?(.*)$/','',$page_url); 
    120120 
    121           $headers[] = 'From: dotclear@'.$_SERVER['HTTP_HOST']; 
     121          $headers[] = 'From: '.(defined('DC_ADMIN_MAILFROM') && DC_ADMIN_MAILFROM ? DC_ADMIN_MAILFROM : 'dotclear@local'); 
    122122          $headers[] = 'Content-Type: text/plain; charset=UTF-8;'; 
    123123 
Note: See TracChangeset for help on using the changeset viewer.

Sites map