X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_method_api.c;h=3359b28ad501f5fce3b474b7fbb0b80b7678f114;hb=c8dff7011092296f9fcc12e68ad8eef18b19cdf4;hp=9e428d15ce9ff37960e69f786daad2cca2416a4e;hpb=dbc4ec02cd319000b5c8589910047cfe6d5738be;p=m6w6%2Fext-http diff --git a/http_request_method_api.c b/http_request_method_api.c index 9e428d1..3359b28 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -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));