summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2002-03-13 07:11:00 +0000
committerSebastian Bergmann <sebastian@php.net>2002-03-13 07:11:00 +0000
commit118761e11e5b4c8cc19e72e298ab32324d4c7a44 (patch)
tree0be2ef5fbaf92624cf28f3da0523b8b0d431789b
parent923c47893a8aec9e7726bae603e7007259328ca3 (diff)
downloadphp-git-118761e11e5b4c8cc19e72e298ab32324d4c7a44.tar.gz
Sync with Apache2 Filter API change.
-rw-r--r--sapi/apache2filter/sapi_apache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c
index 632bdd72c0..8923dfd91e 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2filter/sapi_apache2.c
@@ -470,8 +470,8 @@ static void php_register_hook(apr_pool_t *p)
{
ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_CONTENT);
- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_CONTENT);
+ ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
+ ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
}
AP_MODULE_DECLARE_DATA module php4_module = {