From c8712192bef8908c9d75f1d9c9d2ba35109f0746 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 23 Dec 2016 15:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BRequest=E7=B1=BB=E7=9A=84doma?= =?UTF-8?q?in=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/think/Request.php b/library/think/Request.php index 2e770a8d..49f39610 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -275,9 +275,6 @@ class Request return $this; } elseif (!$this->domain) { $this->domain = $this->scheme() . '://' . $this->host(); - if (!in_array($this->port(), ['80', '443'])) { - $this->domain .= ':' . $this->port(); - } } return $this->domain; }