]> granicus.if.org Git - php/commitdiff
this will be handled elsewhere
authorHartmut Holzgraefe <hholzgra@php.net>
Mon, 21 Oct 2002 20:20:08 +0000 (20:20 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Mon, 21 Oct 2002 20:20:08 +0000 (20:20 +0000)
sapi/apache/mod_php4.c

index 59732fd860ef8053452741613e7b8d7727ae65d8..722e90e7d4eb2755034546e235ff9546dda231ea 100644 (file)
@@ -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
                 */