From d724f9cfb14767b9f4ef95150ca62d2694c62e7b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 28 May 2006 20:32:00 +0000 Subject: MFH: call ap_set_content_type() only once, else each time we call it, configured output filters for that content type will be added --- sapi/apache2handler/php_apache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/apache2handler/php_apache.h') diff --git a/sapi/apache2handler/php_apache.h b/sapi/apache2handler/php_apache.h index 3ace040b0a..454c3c5c3e 100644 --- a/sapi/apache2handler/php_apache.h +++ b/sapi/apache2handler/php_apache.h @@ -44,6 +44,8 @@ typedef struct php_struct { #endif /* Whether or not we've processed PHP in the output filters yet. */ int request_processed; + /* final content type */ + char *content_type; } php_struct; void *merge_php_config(apr_pool_t *p, void *base_conf, void *new_conf); -- cgit v1.2.1