diff --git a/src/MultiLangRequest.php b/src/MultiLangRequest.php index ca9802b..5418214 100644 --- a/src/MultiLangRequest.php +++ b/src/MultiLangRequest.php @@ -79,7 +79,7 @@ public function getUrl() /** * @return null|string */ - public function getHostInfo() + /*public function getHostInfo() { $hostInfo = parent::getHostInfo(); $this->hostInfoNoLang = $hostInfo; @@ -89,5 +89,6 @@ public function getHostInfo() } return $hostInfo; - } + }*/ + } \ No newline at end of file diff --git a/src/MultiLangUrlManager.php b/src/MultiLangUrlManager.php index fac205a..62a632e 100644 --- a/src/MultiLangUrlManager.php +++ b/src/MultiLangUrlManager.php @@ -98,7 +98,7 @@ public function createUrl($params) * @param null $scheme * @return string */ - public function createAbsoluteUrl($params, $scheme = null) + /*public function createAbsoluteUrl($params, $scheme = null) { $tmpHostInfo = $this->hostInfo; $request = \Yii::$app->request; @@ -109,7 +109,7 @@ public function createAbsoluteUrl($params, $scheme = null) $url = parent::createAbsoluteUrl($params, $scheme); $this->hostInfo = $tmpHostInfo; return $url; - } + }*/ /** * @param $parsed_url