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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user