MFH: Fixed bug #42473 (ob_start php://output and headers)

This commit is contained in:
Arnaud Le Blanc 2008-11-26 01:20:31 +00:00
parent 6a6289a90d
commit 5b4a154a59

View File

@ -48,17 +48,11 @@ static int php_stream_output_close(php_stream *stream, int close_handle TSRMLS_D
return 0;
}
static int php_stream_output_flush(php_stream *stream TSRMLS_DC)
{
sapi_flush(TSRMLS_C);
return 0;
}
php_stream_ops php_stream_output_ops = {
php_stream_output_write,
php_stream_output_read,
php_stream_output_close,
php_stream_output_flush,
NULL, /* flush */
"Output",
NULL, /* seek */
NULL, /* cast */