Update of /cvsroot/webnotes/webnotes/core
In directory usw-pr-cvs1:/tmp/cvs-serv30612
Modified Files:
email_api.php
Log Message:
We're phpwebnotes, not mantis, remove lines saying this is mantis
Set phpWebNotes $version in X-Mailer headers
Index: email_api.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/core/email_api.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- email_api.php 17 Sep 2002 21:51:17 -0000 1.3
+++ email_api.php 3 Oct 2002 06:31:03 -0000 1.4
@@ -1,8 +1,8 @@
<?php
- # Mantis - a php based bugtracking system
- # Copyright (C) 2000 - 2002 Kenzaburo Ito - ke...@30...
- # This program is distributed under the terms and conditions of the GPL
- # See the files README and LICENSE for details
+ # phpWebNotes - a php based note addition system
+ # Copyright (C) 2000-2002 Webnotes Team - web...@so...
+ # This program is distributed under the terms and conditions of the GPL
+ # See the files README and LICENSE for details
###########################################################################
# Email API
@@ -61,7 +61,7 @@
#$t_headers .= "Reply-To: $p_reply_to_email\n";
$t_headers .= "X-Sender: <$g_from_email>\n";
- $t_headers .= "X-Mailer: PHP/".phpversion()."\n";
+ $t_headers .= "X-Mailer: phpWebNotes $g_phpWebNotes_version"\n";
if ( ON == $g_use_x_priority ) {
$t_headers .= "X-Priority: 0\n"; # Urgent = 1, Not Urgent = 5, Disable = 0
}
@@ -96,4 +96,4 @@
return str_replace( "\r\r\n", "\r\n", $p_string );
}
# --------------------
-?>
\ No newline at end of file
+?>
|