Dotclear

Changeset 362:b070e9822ded


Ignore:
Timestamp:
06/14/11 07:43:47 (14 years ago)
Author:
xave
Branch:
2.3
Message:

Admin mails' from address can now be configured.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r314 r362  
    8989          $page_url.'?akey='.$recover_key; 
    9090           
    91           $headers[] = 'From: dotclear@'.$_SERVER['HTTP_HOST']; 
     91          $headers[] = 'From: '.(defined('DC_ADMIN_MAILFROM') && DC_ADMIN_MAILFROM ? DC_ADMIN_MAILFROM : 'dotclear@local'); 
    9292          $headers[] = 'Content-Type: text/plain; charset=UTF-8;'; 
    9393           
  • inc/config.php.in

    r270 r362  
    4040define('DC_ADMIN_URL',''); 
    4141 
     42// Admin mail from address. For password recovery and such. 
     43define('DC_ADMIN_MAILFROM',''); 
     44 
    4245// Cookie's name 
    4346define('DC_SESSION_NAME','dcxd'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map