@@ 1893-1900 (lines=8) @@ | ||
1890 | if($use_ssl) |
|
1891 | { |
|
1892 | $port = self::get('_https_port'); |
|
1893 | if($port && $port != 443) |
|
1894 | { |
|
1895 | $url_info['port'] = $port; |
|
1896 | } |
|
1897 | elseif($url_info['port'] == 443) |
|
1898 | { |
|
1899 | unset($url_info['port']); |
|
1900 | } |
|
1901 | } |
|
1902 | else |
|
1903 | { |
|
@@ 1902-1913 (lines=12) @@ | ||
1899 | unset($url_info['port']); |
|
1900 | } |
|
1901 | } |
|
1902 | else |
|
1903 | { |
|
1904 | $port = self::get('_http_port'); |
|
1905 | if($port && $port != 80) |
|
1906 | { |
|
1907 | $url_info['port'] = $port; |
|
1908 | } |
|
1909 | elseif($url_info['port'] == 80) |
|
1910 | { |
|
1911 | unset($url_info['port']); |
|
1912 | } |
|
1913 | } |
|
1914 | ||
1915 | $url[$ssl_mode][$domain_key] = sprintf('%s://%s%s%s', $use_ssl ? 'https' : $url_info['scheme'], $url_info['host'], $url_info['port'] && $url_info['port'] != 80 ? ':' . $url_info['port'] : '', $url_info['path']); |
|
1916 |