CVS update: php3/functions
| From: | jim | Date: | Tue, 01 Jun 1999 19:57:04 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6392@lists.php.net to get a copy of this message | ||
Date: Tuesday June 1, 1999 @ 15:57
Author: jim
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv21011/functions
Modified Files:
head.c
Log Message:
I don't see why this was only enabled in DEBUG builds.
Index: php3/functions/head.c
diff -u php3/functions/head.c:1.118 php3/functions/head.c:1.119
--- php3/functions/head.c:1.118 Wed May 19 14:49:11 1999
+++ php3/functions/head.c Tue Jun 1 15:57:04 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: head.c,v 1.118 1999/05/19 18:49:11 rasmus Exp $ */
+/* $Id: head.c,v 1.119 1999/06/01 19:57:04 jim Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
@@ -115,11 +115,9 @@
}
convert_to_string(arg1);
if (GLOBAL(php3_HeaderPrinted) == 1) {
-#if DEBUG
php3_error(E_WARNING, "Cannot add more header information - the header was already sent
"
"(header information may be added only before any output is generated from the script
- "
"check for text or whitespace outside PHP tags, or calls to functions that output
text)");
-#endif
return; /* too late, already sent */
}
#if APACHE