mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
- Fix test
This commit is contained in:
parent
eae3e69f33
commit
b3568760bd
@ -14,10 +14,11 @@ Mark van der Velden
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Figure out what handler to use
|
// Figure out what handler to use
|
||||||
if(!empty($_ENV['PHP_CURL_HTTP_REMOTE_SERVER'])) {
|
$host = getenv('PHP_CURL_HTTP_REMOTE_SERVER');
|
||||||
|
if(!empty($host)) {
|
||||||
|
|
||||||
// Use the set Environment variable
|
// Use the set Environment variable
|
||||||
$url = $_ENV['PHP_CURL_HTTP_REMOTE_SERVER'];
|
$url = "$host/get.php";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@ -42,4 +43,5 @@ isset($tempname) and is_file($tempname) and @unlink($tempname);
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
Warning: curl_setopt(): the provided file handle is not writable in %s on line %d
|
Warning: curl_setopt(): the provided file handle is not writable in %s on line %d
|
||||||
%S
|
Hello World!
|
||||||
|
Hello World!
|
||||||
|
Loading…
Reference in New Issue
Block a user