From: Zeev Suraski Date: Wed, 29 Nov 2000 01:02:27 +0000 (+0000) Subject: Output buffering was being enabled all the time - fixed X-Git-Tag: php-4.0.4RC3~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2672602e30ffe66f8a56e20241e2dcdaf62f5cc0;p=php Output buffering was being enabled all the time - fixed --- diff --git a/main/main.c b/main/main.c index 4d92d309d2..458b2e556d 100644 --- a/main/main.c +++ b/main/main.c @@ -625,7 +625,7 @@ int php_request_startup(CLS_D ELS_DC PLS_DC SLS_DC) sapi_add_header(SAPI_PHP_VERSION_HEADER, sizeof(SAPI_PHP_VERSION_HEADER)-1, 1); } - if (PG(output_handler)) { + if (PG(output_handler) && PG(output_handler)[0]) { zval *output_handler; ALLOC_INIT_ZVAL(output_handler);