From ad8a08bb547d831c8f89ed434e49e4870454cba6 Mon Sep 17 00:00:00 2001 From: ProklUng Date: Tue, 3 Aug 2021 18:47:34 +0300 Subject: [PATCH] =?UTF-8?q?AppKernel.=20HTTP=5FHOST=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20CLI=20(=D0=B8=D0=B7=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BE=D0=BA=D1=80=D1=83=D0=B6=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Services/AppKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/AppKernel.php b/src/Services/AppKernel.php index 5a7448f..de3c7f1 100644 --- a/src/Services/AppKernel.php +++ b/src/Services/AppKernel.php @@ -301,7 +301,7 @@ public function registerStandaloneBundles(): array */ private function getSiteHost() : string { - return $this->getSchema() . $_SERVER['HTTP_HOST']; + return $this->getSchema() . $this->getHttpHost(); } /**