diff options
Diffstat (limited to 'main/SAPI.c')
| -rw-r--r-- | main/SAPI.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 4a5ea83521..6b7e1ef4ae 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -553,8 +553,8 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC) int http_response_code; if (SG(headers_sent) && !SG(request_info).no_headers) { - char *output_start_filename = php_get_output_start_filename(TSRMLS_C); - int output_start_lineno = php_get_output_start_lineno(TSRMLS_C); + char *output_start_filename = php_output_get_start_filename(); + int output_start_lineno = php_output_get_start_lineno(); if (output_start_filename) { sapi_module.sapi_error(E_WARNING, "Cannot modify header information - headers already sent by (output started at %s:%d)", @@ -720,6 +720,7 @@ SAPI_API int sapi_send_headers(TSRMLS_D) } #if HAVE_ZLIB + /* TODO: move to zlib.c */ /* Add output compression headers at this late stage in order to make it possible to switch it off inside the script. */ |
