| @@ 1308-1308 (lines=1) @@ | ||
| 1305 | } elseif ($t['scheme'] == 'https') { |
|
| 1306 | $scheme = 'ssl'; |
|
| 1307 | $noproxy = 'ssl://'; |
|
| 1308 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1309 | $t['port'] = 443; |
|
| 1310 | } |
|
| 1311 | } else { |
|
| @@ 1319-1319 (lines=1) @@ | ||
| 1316 | $user = array($t['user'], $t['pass']); |
|
| 1317 | } |
|
| 1318 | ||
| 1319 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1320 | $port = 80; |
|
| 1321 | } |
|
| 1322 | if (!isset($t['path']) || !($path = $t['path'])) { |
|
| @@ 1322-1322 (lines=1) @@ | ||
| 1319 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1320 | $port = 80; |
|
| 1321 | } |
|
| 1322 | if (!isset($t['path']) || !($path = $t['path'])) { |
|
| 1323 | $path = '/'; |
|
| 1324 | } |
|
| 1325 | ||