diff options
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 7931aa7279..0250a38397 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -319,6 +319,9 @@ PHP_FUNCTION(virtual) if (rr) destroy_sub_req (rr); RETURN_FALSE; } + + php_end_ob_buffering(1); + php_header(); if (run_sub_req(rr)) { php_error(E_WARNING, "Unable to include '%s' - request execution failed", (*filename)->value.str.val); |