aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-03-12 10:29:54 +0000
committerplegall <plg@piwigo.org>2005-03-12 10:29:54 +0000
commita159c579b7197834ad6a5036048d615363f5967e (patch)
tree6908c934036b825e53e1fd260d0e0e8e618ec9cf /include
parent56d095b30f5d5e5ecfbdd54458d8326a646c5a1c (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 '')
-rw-r--r--include/functions.inc.php4
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( '&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 );
}