]> granicus.if.org Git - php/commitdiff
fix flushing for PHP6 output code
authorUwe Schindler <thetaphi@php.net>
Sun, 22 Jun 2008 22:28:31 +0000 (22:28 +0000)
committerUwe Schindler <thetaphi@php.net>
Sun, 22 Jun 2008 22:28:31 +0000 (22:28 +0000)
sapi/nsapi/nsapi.c

index 7abcf2115b99c384567aa210c0cb9c6b88e7ac62..6fc924dbc15533d347cb6482b2986708f9b00fe2 100644 (file)
@@ -343,7 +343,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 */