diff options
| author | Jani Taskinen <jani@php.net> | 2010-03-11 10:24:29 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2010-03-11 10:24:29 +0000 |
| commit | 06f072cb5e4e3582e20b8762141eccbc4dce85fa (patch) | |
| tree | 511382440db96edad3a2627ce361113e29d672ab /sapi/nsapi/nsapi.c | |
| parent | f60946eb5430cd11daa9f88503dc9b1a9b7bd634 (diff) | |
| download | php-git-06f072cb5e4e3582e20b8762141eccbc4dce85fa.tar.gz | |
MFH: Improved / fixed output buffering (Michael Wallner)
Diffstat (limited to 'sapi/nsapi/nsapi.c')
| -rw-r--r-- | sapi/nsapi/nsapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 8d8363c01c..bf8aa0afd5 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -347,7 +347,7 @@ PHP_FUNCTION(nsapi_virtual) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to include uri '%s' - Sub-requests do not work with zlib.output_compression", uri); RETURN_FALSE; } else { - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(TSRMLS_C); php_header(TSRMLS_C); /* do the sub-request */ |
