From 2c0240cd42aeedfbbce3de0e2b08a5f8a881e5ba Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 21 Dec 2015 21:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0?= 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 fe8e38a4..56b70b3f 100644 --- a/library/think/url.php +++ b/library/think/url.php @@ -134,7 +134,7 @@ class Url $domain = $host . (strpos($host, '.') ? '' : strstr($_SERVER['HTTP_HOST'], '.')); } elseif (true === $domain) { $domain = $_SERVER['HTTP_HOST']; - if (Config::get('url_domain_deplay')) { + if (Config::get('url_domain_deploy')) { // 开启子域名部署 $domain = 'localhost' == $domain ? 'localhost' : 'www' . strstr($_SERVER['HTTP_HOST'], '.'); // '子域名'=>array('项目[/分组]');