From 368272f7e397d0c575d64d0882eddccda0720ee3 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 19 Jul 2018 15:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Burl=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84=E7=AB=AF=E5=8F=A3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Url.php b/library/think/Url.php index bb697192..53a545f9 100644 --- a/library/think/Url.php +++ b/library/think/Url.php @@ -239,7 +239,7 @@ class Url $rootDomain = Config::get('url_domain_root'); if (true === $domain) { // 自动判断域名 - $domain = Config::get('app_host') ?: $request->host(true); + $domain = Config::get('app_host') ?: $request->host(); $domains = Route::rules('domain'); if ($domains) {