MFH: call ap_set_content_type() only once, else each time we call it,

configured output filters for that content type will be added
This commit is contained in:
Michael Wallner 2006-05-28 20:32:00 +00:00
parent 1ad21d9b12
commit d724f9cfb1
2 changed files with 15 additions and 6 deletions

View file

@ -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);