Commit 07f74fa83e3855862a936bdfcc284b732a7f3828

Authored by Administrator
1 parent a4c312f4

20.07.16

frontend/config/main.php
@@ -147,10 +147,7 @@ return [ @@ -147,10 +147,7 @@ return [
147 '<language:(ru|ua|en)>/admin/users' => 'admin/users/index', 147 '<language:(ru|ua|en)>/admin/users' => 'admin/users/index',
148 'thumbs/<path:.*>' => 'site/thumb', 148 'thumbs/<path:.*>' => 'site/thumb',
149 ], 149 ],
150 - 'class' => 'common\components\urlManager\LangUrlManager',  
151 - 'languages' => ['ru', 'ua', 'en'],  
152 - 'lang' => 'ru',  
153 - 'langParam' => 'language', 150 +
154 ], 151 ],
155 152
156 ], 153 ],
frontend/views/layouts/main.php
@@ -79,7 +79,6 @@ $this-&gt;registerJs(&quot; @@ -79,7 +79,6 @@ $this-&gt;registerJs(&quot;
79 <?= Seo::widget([ 'row'=>'description'])?> 79 <?= Seo::widget([ 'row'=>'description'])?>
80 <?= Seo::widget([ 'row'=>'meta'])?> 80 <?= Seo::widget([ 'row'=>'meta'])?>
81 <link rel="shortcut icon" href="<?= Yii::$app->request->baseUrl ?>/img/favicon.ico" type="image/x-icon"/> 81 <link rel="shortcut icon" href="<?= Yii::$app->request->baseUrl ?>/img/favicon.ico" type="image/x-icon"/>
82 - <?= HreflangWidget::widget ([]) ?>  
83 <?php $this->head () ?> 82 <?php $this->head () ?>
84 83
85 <!-- SOCIAL ICON --> 84 <!-- SOCIAL ICON -->