1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00

Add Win32 support for cURL.

#  Switch this commit message with the last one and you get the
#  right commit order.
This commit is contained in:
Sterling Hughes
2000-08-15 16:54:48 +00:00
parent d06c4b2e3f
commit d06c2d9eb1

View File

@@ -86,7 +86,7 @@ zend_module_entry curl_module_entry = {
curl_functions,
PHP_MINIT(curl),
PHP_MSHUTDOWN(curl),
NULL,
PHP_RINIT(curl),
NULL,
PHP_MINFO(curl),
STANDARD_MODULE_PROPERTIES
@@ -211,6 +211,11 @@ PHP_MINIT_FUNCTION(curl)
return SUCCESS;
}
PHP_RINIT_FUNCTION(curl)
{
CURLG(use_file) = 0;
}
PHP_MSHUTDOWN_FUNCTION(curl)
{
win32_cleanup();