mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
1ad21d9b12
commit
d724f9cfb1
2 changed files with 15 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue