잘못된 코드 수정

This commit is contained in:
thisgun committed 2019-05-08 14:10:38 +09:00
1 parent 85fcbbbdb7
commit 78dc1a91d3
3 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -157,7 +157,8 @@ function short_url_clean($string_url, $add_qry=''){
$str_path = isset($url['path']) ? $url['path'] : '';
$http = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 'https://' : 'http://';
$host = $http.$url['host'].str_replace($array_file_paths, '', $str_path);
$port = (isset($url['port']) && ($url['port']!==80 || $url['port']!==443)) ? ':'.$url['port'] : '';
$host = $http.$url['host'].$port.str_replace($array_file_paths, '', $str_path);
}
$add_param = '';