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