| @@ 1283-1283 (lines=1) @@ | ||
| 1280 | } elseif ($t['scheme'] == 'https') { |
|
| 1281 | $scheme = 'ssl'; |
|
| 1282 | $noproxy = 'ssl://'; |
|
| 1283 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1284 | $t['port'] = 443; |
|
| 1285 | } |
|
| 1286 | } else { |
|
| @@ 1294-1294 (lines=1) @@ | ||
| 1291 | $user = array($t['user'], $t['pass']); |
|
| 1292 | } |
|
| 1293 | ||
| 1294 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1295 | $port = 80; |
|
| 1296 | } |
|
| 1297 | if (!isset($t['path']) || !($path = $t['path'])) { |
|
| @@ 1297-1297 (lines=1) @@ | ||
| 1294 | if (!isset($t['port']) || !($port = $t['port'])) { |
|
| 1295 | $port = 80; |
|
| 1296 | } |
|
| 1297 | if (!isset($t['path']) || !($path = $t['path'])) { |
|
| 1298 | $path = '/'; |
|
| 1299 | } |
|
| 1300 | ||