diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/af_unburn/init.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php index a97502b12..5873ccdf7 100644 --- a/plugins/af_unburn/init.php +++ b/plugins/af_unburn/init.php @@ -38,6 +38,10 @@ class Af_Unburn extends Plugin { curl_setopt($ch, CURLOPT_FOLLOWLOCATION, !ini_get("safe_mode") && !ini_get("open_basedir")); curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT); + if (defined('_CURL_HTTP_PROXY')) { + curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY); + } + $contents = @curl_exec($ch); $real_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL); |