aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-08-12 20:57:44 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-08-12 20:57:44 +0000
commitf2a076ccbe46638e894d99f1a745bc4eb42f122b (patch)
tree35a30f34ba165718b92d7bc153045436fca91395 /www/mod_php4
parentec8858014ac17eee3fea81d48b91a2289d814541 (diff)
downloadports-f2a076ccbe46638e894d99f1a745bc4eb42f122b.tar.gz
ports-f2a076ccbe46638e894d99f1a745bc4eb42f122b.zip
Notes
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c b/www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c
new file mode 100644
index 000000000000..fef8ad51be9b
--- /dev/null
+++ b/www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c
@@ -0,0 +1,13 @@
+--- sapi/apache2filter/sapi_apache2.c.orig Mon May 6 17:42:23 2002
++++ sapi/apache2filter/sapi_apache2.c Mon Aug 12 22:49:58 2002
+@@ -531,8 +531,8 @@
+ 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_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDLE);
+- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
+- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
++ ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE);
++ ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURCE);
+ }
+
+ AP_MODULE_DECLARE_DATA module php4_module = {