[PHP-DEV] CVS update: php3/functions From: jim (php-dev <email protected>)
Date: 06/01/99

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 <email protected>> |
    +----------------------------------------------------------------------+
  */
-/* $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

-- 
PHP Development Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>