summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_apache.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2006-05-28 20:32:00 +0000
committerMichael Wallner <mike@php.net>2006-05-28 20:32:00 +0000
commitd724f9cfb14767b9f4ef95150ca62d2694c62e7b (patch)
tree7fd45fb10e88d93fdfb0d127cba72c37d836daf5 /sapi/apache2handler/php_apache.h
parent1ad21d9b1231cbc86fda5d857c5390461b9beff7 (diff)
downloadphp-git-d724f9cfb14767b9f4ef95150ca62d2694c62e7b.tar.gz
MFH: call ap_set_content_type() only once, else each time we call it,
configured output filters for that content type will be added
Diffstat (limited to 'sapi/apache2handler/php_apache.h')
-rw-r--r--sapi/apache2handler/php_apache.h2
1 files changed, 2 insertions, 0 deletions
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);