From b2c6a133161ca8f208f3745a1fd2a8841f070e38 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Fri, 15 Jan 2016 10:00:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AD=90=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=9A=84=E4=B8=80=E5=A4=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Route.php b/library/think/Route.php index c2e2cc4f..9b5da48f 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -252,7 +252,7 @@ class Route // 子域名配置 if (!empty($domain)) { // 记录子域名 - self::$subDomain = $domain; + self::$subDomain = join('.', $domain); // 二级域名 $subDomain = implode('.', $domain); $domain2 = array_pop($domain);