| @@ 266-273 (lines=8) @@ | ||
| 263 | } |
|
| 264 | } |
|
| 265 | ||
| 266 | if ($this->scheme === 'https') { |
|
| 267 | if (isset($_SERVER['HTTPS_PROXY'])) { |
|
| 268 | return $_SERVER['HTTPS_PROXY']; |
|
| 269 | } |
|
| 270 | if (isset($_SERVER['https_proxy'])) { |
|
| 271 | return $_SERVER['https_proxy']; |
|
| 272 | } |
|
| 273 | } |
|
| 274 | ||
| 275 | if ($this->scheme === 'http') { |
|
| 276 | if (isset($_SERVER['HTTP_PROXY'])) { |
|
| @@ 275-282 (lines=8) @@ | ||
| 272 | } |
|
| 273 | } |
|
| 274 | ||
| 275 | if ($this->scheme === 'http') { |
|
| 276 | if (isset($_SERVER['HTTP_PROXY'])) { |
|
| 277 | return $_SERVER['HTTP_PROXY']; |
|
| 278 | } |
|
| 279 | if (isset($_SERVER['http_proxy'])) { |
|
| 280 | return $_SERVER['http_proxy']; |
|
| 281 | } |
|
| 282 | } |
|
| 283 | return null; |
|
| 284 | } |
|
| 285 | ||