mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-5.4' into PHP-5.5
Conflicts: ext/curl/interface.c
This commit is contained in:
commit
01ca2bf8c3
@ -1222,7 +1222,7 @@ PHP_MINIT_FUNCTION(curl)
|
||||
}
|
||||
|
||||
#ifdef PHP_CURL_URL_WRAPPERS
|
||||
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLE", 1, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 1, CONST_CS | CONST_PERSISTENT);
|
||||
{
|
||||
curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
|
||||
char **p = (char **)info->protocols;
|
||||
@ -1237,7 +1237,7 @@ PHP_MINIT_FUNCTION(curl)
|
||||
}
|
||||
}
|
||||
#else
|
||||
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLE", 0, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 0, CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
|
||||
curlfile_register_class(TSRMLS_C);
|
||||
|
@ -9,7 +9,7 @@ if(!$res) {
|
||||
die("skip could not open cli server script");
|
||||
}
|
||||
|
||||
if (CURL_WRAPPERS_ENABLE) {
|
||||
if (CURL_WRAPPERS_ENABLED) {
|
||||
die("skip curl wrappers used");
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user