From a159c579b7197834ad6a5036048d615363f5967e Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 12 Mar 2005 10:29:54 +0000 Subject: - 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 --- include/functions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 0ac10f7a8..52e0e0fa9 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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( ' ', ' ', $infos ); $infos = str_replace( '−', '-', $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 ); } -- cgit v1.2.3