blob: 62b252bcd150c981b73bbb67ffefb3a8667479c6 (
plain)
1
2
3
4
5
6
7
|
<?php
if (!extension_loaded("curl")) exit("skip curl extension not loaded");
if(false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) {
if (php_sapi_name() != "cli") {
die("skip PHP_CURL_HTTP_REMOTE_SERVER env variable is not defined");
}
}
|