diff options
author | plegall <plg@piwigo.org> | 2005-03-12 10:29:54 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-03-12 10:29:54 +0000 |
commit | a159c579b7197834ad6a5036048d615363f5967e (patch) | |
tree | 6908c934036b825e53e1fd260d0e0e8e618ec9cf /include/functions.inc.php | |
parent | 56d095b30f5d5e5ecfbdd54458d8326a646c5a1c (diff) |
- 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
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 4 |
1 files 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 ); } |