cvs: php4 /ext/standard output.c
| From: | Zeev Suraski | Date: | Sat, 31 Mar 2001 22:53:19 +0000 |
| Subject: | cvs: php4 /ext/standard output.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4927@lists.php.net to get a copy of this message | ||
zeev Sat Mar 31 14:53:19 2001 EDT
Modified files:
/php4/ext/standard output.c
Log:
Fix headers handling with output buffering
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.51 php4/ext/standard/output.c:1.52
--- php4/ext/standard/output.c:1.51 Wed Mar 28 12:08:49 2001
+++ php4/ext/standard/output.c Sat Mar 31 14:53:19 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: output.c,v 1.51 2001/03/28 20:08:49 andre Exp $ */
+/* $Id: output.c,v 1.52 2001/03/31 22:53:19 zeev Exp $ */
#include "php.h"
#include "ext/standard/head.h"
@@ -447,6 +447,7 @@
OLS_FETCH();
if (SG(request_info).headers_only) {
+ php_header();
zend_bailout();
}
if (php_header()) {