summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-10-21 20:20:08 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-10-21 20:20:08 +0000
commitc4cb92229cbde4bca3686f33cf8182cbf0495fa1 (patch)
treefbb090bc9639a49da2df31b6ac83ba862a2fdb9d /sapi/apache/mod_php4.c
parenteb137d3d80b9cd3ac0477f94366e92f218da9703 (diff)
downloadphp-git-c4cb92229cbde4bca3686f33cf8182cbf0495fa1.tar.gz
this will be handled elsewhere
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 59732fd860..722e90e7d4 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -500,14 +500,6 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
}
- /* We don't accept OPTIONS requests, but take everything else */
- if (!PG(allow_webdav_methods)) {
- if (r->method_number == M_OPTIONS) {
- r->allowed |= (1 << METHODS) - 1;
- return DECLINED;
- }
- }
-
/* If PHP parser engine has been turned off with an "engine off"
* directive, then decline to handle this request
*/