@@ -210,12 +210,12 @@ |
||
| 210 | 210 | |
| 211 | 211 | // Add proxy settings to the curl. |
| 212 | 212 | if ($this->getConfiguration()->getProxyServer()) { |
| 213 | - curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer()); |
|
| 214 | - curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort()); |
|
| 213 | + curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer()); |
|
| 214 | + curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort()); |
|
| 215 | 215 | |
| 216 | - $username = $this->getConfiguration()->getProxyUser(); |
|
| 217 | - $password = $this->getConfiguration()->getProxyPassword(); |
|
| 218 | - curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password"); |
|
| 216 | + $username = $this->getConfiguration()->getProxyUser(); |
|
| 217 | + $password = $this->getConfiguration()->getProxyPassword(); |
|
| 218 | + curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password"); |
|
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | $this->log->addDebug('Curl exec='.$url); |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | */ |
| 235 | 235 | public function getProxyServer() |
| 236 | 236 | { |
| 237 | - return $this->proxyServer; |
|
| 237 | + return $this->proxyServer; |
|
| 238 | 238 | } |
| 239 | 239 | |
| 240 | 240 | /** |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | */ |
| 243 | 243 | public function getProxyPort() |
| 244 | 244 | { |
| 245 | - return $this->proxyPort; |
|
| 245 | + return $this->proxyPort; |
|
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | /** |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | */ |
| 251 | 251 | public function getProxyUser() |
| 252 | 252 | { |
| 253 | - return $this->proxyUser; |
|
| 253 | + return $this->proxyUser; |
|
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | /** |
@@ -258,6 +258,6 @@ discard block |
||
| 258 | 258 | */ |
| 259 | 259 | public function getProxyPassword() |
| 260 | 260 | { |
| 261 | - return $this->proxyPassword; |
|
| 261 | + return $this->proxyPassword; |
|
| 262 | 262 | } |
| 263 | 263 | } |