diff --git a/Application/Base/Tool/Request.class.php b/Application/Base/Tool/Request.class.php index cd3f1241f..00c55082d 100644 --- a/Application/Base/Tool/Request.class.php +++ b/Application/Base/Tool/Request.class.php @@ -99,7 +99,7 @@ class Request { public function getHost() { - $host = $this->getScheme() . '://' . $this->serverInfo['SERVER_NAME']; + $host = $this->getScheme() . '://' . $this->serverInfo['HTTP_HOST']; if (in_array($this->serverInfo['SERVER_PORT'], [80, 443])) { return $host; }