summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r--inc/HTTPClient.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index 326bf2692..0ed34de44 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -155,8 +155,8 @@ class HTTPClient {
// proxy setup
if($this->proxy_host){
$request_url = $url;
- $server = $config['proxy_host'];
- $port = $config['proxy_port'];
+ $server = $this->proxy_host;
+ $port = $this->proxy_port;
if (empty($port)) $port = 8080;
}else{
$request_url = $path;