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()) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]