X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=3902443bde951d6a5d8e861079c6947cdf55e90f;hp=50f387b81363d3b98eeaf69d2669483e4b742631;hb=bf7c808caf569c8533a1e7226765cff87c462ab7;hpb=27d26668aa55316946f376d1fc4a8014c5fb4de7 diff --git a/http.c b/http.c index 50f387b..3902443 100644 --- a/http.c +++ b/http.c @@ -44,6 +44,7 @@ # ifdef HTTP_HAVE_CURL # include "php_http_request_object.h" # endif +# include "php_http_exception_object.h" #endif #include "phpstr/phpstr.h" @@ -233,6 +234,7 @@ PHP_MINIT_FUNCTION(http) # ifdef HTTP_HAVE_CURL http_request_object_init(INIT_FUNC_ARGS_PASSTHRU); # endif /* HTTP_HAVE_CURL */ + http_exception_object_init(INIT_FUNC_ARGS_PASSTHRU); #endif /* ZEND_ENGINE_2 */ return SUCCESS;