Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 15, 2019
1 parent 6d053ad commit 7387e4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/MultiLangRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getUrl()
/**
* @return null|string
*/
public function getHostInfo()
/*public function getHostInfo()
{
$hostInfo = parent::getHostInfo();
$this->hostInfoNoLang = $hostInfo;
Expand All @@ -89,5 +89,6 @@ public function getHostInfo()
}
return $hostInfo;
}
}*/

}
4 changes: 2 additions & 2 deletions src/MultiLangUrlManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -109,7 +109,7 @@ public function createAbsoluteUrl($params, $scheme = null)
$url = parent::createAbsoluteUrl($params, $scheme);
$this->hostInfo = $tmpHostInfo;
return $url;
}
}*/

/**
* @param $parsed_url
Expand Down

0 comments on commit 7387e4a

Please sign in to comment.