From e3048a5375f1aa05944465ce068ff97ff441a641 Mon Sep 17 00:00:00 2001 From: NaiXiaoXin Date: Fri, 13 Jan 2017 17:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DHTTPS=E4=B8=8B=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=9C=B0=E5=9D=80http=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/function/cache/cache_setting.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upload/source/function/cache/cache_setting.php b/upload/source/function/cache/cache_setting.php index 86dd944..e6d7a14 100644 --- a/upload/source/function/cache/cache_setting.php +++ b/upload/source/function/cache/cache_setting.php @@ -430,7 +430,7 @@ function build_cache_setting() { $domain = $defaultcurhost; } if($domain != '{CURHOST}') { - $domain = 'http://'.$domain.$_G['siteport'].'/'; + $domain = $_G['scheme'].'://'.$domain.$_G['siteport'].'/'; } if($repflag) { $output['str']['search'][$app] = " \ No newline at end of file +?>