- bug fixed : errors in notification mails... $conf['webmaster'] as

disappeared and $conf['version'] was replaced by PHPWG_VERSION


git-svn-id: http://piwigo.org/svn/trunk@747 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-03-12 10:29:54 +00:00
parent 56d095b30f
commit a159c579b7
+2 -2
View File
@@ -408,7 +408,7 @@ function notify( $type, $infos = '' )
{
global $conf;
$headers = 'From: '.$conf['webmaster'].' <'.$conf['mail_webmaster'].'>'."\n";
$headers = 'From: <'.$conf['mail_webmaster'].'>'."\n";
$headers.= 'Reply-To: '.$conf['mail_webmaster']."\n";
$headers.= 'X-Mailer: PhpWebGallery, PHP '.phpversion();
@@ -439,7 +439,7 @@ function notify( $type, $infos = '' )
$infos = str_replace( '&nbsp;', ' ', $infos );
$infos = str_replace( '&minus;', '-', $infos );
$content.= "\n\n".$infos;
$content.= "\n\n-- \nPhpWebGallery ".$conf['version'];
$content.= "\n\n-- \nPhpWebGallery ".PHPWG_VERSION;
$content = wordwrap( $content, 72 );
@mail( $to, $subject, $content, $headers, $options );
}