소스 검색

Update channelunit.helper.php

tags/6.5.8
tianya 2 주 전
부모
커밋
f89652cc2c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/system/helpers/channelunit.helper.php

+ 2
- 2
src/system/helpers/channelunit.helper.php 파일 보기

@@ -161,7 +161,7 @@ if (!function_exists('GetTypeUrl')) {
else $reurl = $typedir.'/';
}
}
if (!preg_match("/^http:\/\//", $reurl)) {
if (!preg_match("/^(http|https):\/\//", $reurl)) {
$reurl = preg_replace("/\/{1,}/i", '/', $reurl);
}
if ($GLOBALS['cfg_multi_site'] == 'Y') {
@@ -171,7 +171,7 @@ if (!function_exists('GetTypeUrl')) {
if ($moresite == 1) {
$reurl = preg_replace("#^".$sitepath."#", '', $reurl);
}
if (!preg_match("/^http:\/\//", $reurl)) {
if (!preg_match("/^(http|https):\/\//", $reurl)) {
$reurl = $siteurl.$reurl;
}
}


불러오는 중...
취소
저장