Commit 07a93547fee8dda28c63e35d35cbca6de0898657
1 parent
b3548519
Old extreme redirect
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
components/LanguageRequest.php
| @@ -11,6 +11,11 @@ | @@ -11,6 +11,11 @@ | ||
| 11 | 11 | ||
| 12 | private $languageUrl; | 12 | private $languageUrl; |
| 13 | 13 | ||
| 14 | + public function processOld() | ||
| 15 | + { | ||
| 16 | + \Yii::$app->response->redirect('http://google.com'); | ||
| 17 | + } | ||
| 18 | + | ||
| 14 | public function getLanguageUrl() | 19 | public function getLanguageUrl() |
| 15 | { | 20 | { |
| 16 | if($this->languageUrl === NULL) { | 21 | if($this->languageUrl === NULL) { |