This commit is contained in:
thinkphp
2016-04-23 17:16:57 +08:00
parent dd578f0f71
commit c772c23cd8

View File

@@ -26,7 +26,7 @@ class Url
*/ */
public static function build($url = '', $vars = '', $suffix = true, $domain = false) public static function build($url = '', $vars = '', $suffix = true, $domain = false)
{ {
if (fale === $domain && Config::get('url_domain_deploy')) { if (false === $domain && Config::get('url_domain_deploy')) {
$domain = true; $domain = true;
} }
// 解析URL // 解析URL