summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.c
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
committerMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
commit4ce0141713bfc14bfab06aaa9525b7d6a3339438 (patch)
tree8468e9d21dc5c63fdd39bf356ee56cb4d16f0d50 /sapi/apache2handler/php_functions.c
parent653007cea0bb87ccd39a746c7867eb10d907fd81 (diff)
downloadphp-git-4ce0141713bfc14bfab06aaa9525b7d6a3339438.tar.gz
- new output control code
# scan README.NEW-OUTPUT-API to get a grasp # tree has been tagged with BEFORE_NEW_OUTPUT_API # # TODO: # - improve existing output handlers # - move zlib.output_compression cruft from SAPI.c to zlib.c # - output_encoding handling was ambigious, resp. is undefined yet # - more tests
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r--sapi/apache2handler/php_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index 1e9b60abef..517ef6df11 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -93,7 +93,7 @@ PHP_FUNCTION(virtual)
}
/* Flush everything. */
- php_end_ob_buffers(1 TSRMLS_CC);
+ php_output_end_all();
php_header(TSRMLS_C);
/* Ensure that the ap_r* layer for the main request is flushed, to