diff options
author | Jani Taskinen <jani@php.net> | 2009-08-03 18:15:30 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2009-08-03 18:15:30 +0000 |
commit | 08f8621a9f46a42c0f1b134fd7e4f2f7a3c296c8 (patch) | |
tree | 178c63d7ea8bfbeb3709a49242f7db8bc6da81d8 /main/SAPI.c | |
parent | d744463d3321d4451caa6cc3edcdd265fb042ac1 (diff) | |
download | php-git-08f8621a9f46a42c0f1b134fd7e4f2f7a3c296c8.tar.gz |
- Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 4174d206ea..25bb28f5d2 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -793,7 +793,7 @@ SAPI_API int sapi_send_headers(TSRMLS_D) /* Add output compression headers at this late stage in order to make it possible to switch it off inside the script. */ - if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) { + if (ZLIBG(output_compression)) { zval nm_zlib_get_coding_type; zval *uf_result = NULL; |