diff --git a/application/common.php b/application/common.php index b12ab6a68..21f7920f9 100755 --- a/application/common.php +++ b/application/common.php @@ -225,7 +225,7 @@ function MyUrl($path, $params=[]) $url = str_replace('public/', '', $url); } - // tpurl方法是否识别到https + // tp框架url方法是否识别到https if(__MY_HTTP__ == 'https' && substr($url, 0, 5) != 'https') { $url = 'https'.mb_substr($url, 4, null, 'utf-8');