1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 06:32:49 +02:00

Merge branch 'PHP-5.5'

This commit is contained in:
Xinchen Hui
2013-04-04 19:31:21 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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");
}
?>