Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv3957
Modified Files:
serendipity_config.inc.php
Log Message:
For some reason PHP 4.3.3RC3 is having some problems handling CRLF in mail headers/strings.
I don't really understand WHY, but the previous headers caused PHP to send *two* CRLF, thereby termination the header section of the mail; Dumping the remaining headers into the mail
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- serendipity_config.inc.php 19 Aug 2003 16:15:44 -0000 1.24
+++ serendipity_config.inc.php 23 Aug 2003 19:19:42 -0000 1.25
@@ -158,8 +158,6 @@
$serendipity['signature'] = sprintf(SIGNATURE, $serendipity['blogTitle']);
/* Default mail headers */
-$serendipity['mailheaders'] = 'X-Powered-By: Serendipity v.'. $serendipity['version'] ."\r\n"
- . 'X-Engine: PHP v.'. phpversion() ."\r\n";
-
+$serendipity['mailheaders'] = 'X-Powered-By: Serendipity v.'. $serendipity['version'] .' & PHP v.'. phpversion();
/* vim: set sts=4 ts=4 expandtab : */
?>
|