- fix usage of request time
[m6w6/ext-http] / http_request_method_api.c
index 9e428d15ce9ff37960e69f786daad2cca2416a4e..3359b28ad501f5fce3b474b7fbb0b80b7678f114 100644 (file)
@@ -109,7 +109,7 @@ PHP_RINIT_FUNCTION(http_request_method)
                zval **data;
        
                zend_hash_init(&methods, 0, NULL, ZVAL_PTR_DTOR, 0);
-               http_parse_params(HTTP_G->request.methods.custom.ini, &methods);
+               http_parse_params(HTTP_G->request.methods.custom.ini, HTTP_PARAMS_DEFAULT, &methods);
                FOREACH_HASH_VAL(pos, &methods, data) {
                        if (Z_TYPE_PP(data) == IS_STRING) {
                                http_request_method_register(Z_STRVAL_PP(data), Z_STRLEN_PP(data));