Changeset 747


Ignore:
Timestamp:
Mar 12, 2005, 11:29:54 AM (20 years ago)
Author:
plg
Message:
  • bug fixed : errors in notification mails... $confwebmaster as disappeared and $confversion was replaced by PHPWG_VERSION
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r735 r747  
    409409  global $conf;
    410410
    411   $headers = 'From: '.$conf['webmaster'].' <'.$conf['mail_webmaster'].'>'."\n";
     411  $headers = 'From: <'.$conf['mail_webmaster'].'>'."\n";
    412412  $headers.= 'Reply-To: '.$conf['mail_webmaster']."\n";
    413413  $headers.= 'X-Mailer: PhpWebGallery, PHP '.phpversion();
     
    440440    $infos = str_replace( '&minus;', '-', $infos );
    441441    $content.= "\n\n".$infos;
    442     $content.= "\n\n-- \nPhpWebGallery ".$conf['version'];
     442    $content.= "\n\n-- \nPhpWebGallery ".PHPWG_VERSION;
    443443    $content = wordwrap( $content, 72 );
    444444    @mail( $to, $subject, $content, $headers, $options );
Note: See TracChangeset for help on using the changeset viewer.