Commit a0495e48e0d999d4fbe42406a2c05a7ee71d4acc
1 parent
5d8030e2
bugfix
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/views/site/index.php
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | use artbox\core\helpers\ImageHelper; |
8 | 8 | use artbox\core\helpers\Url; |
9 | 9 | use frontend\assets\SliderAsset; |
10 | - | |
10 | + $currentLang=\artbox\core\models\Language::getCurrent()->url; | |
11 | 11 | SliderAsset::register($this); |
12 | 12 | ?> |
13 | 13 | |
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 | <div class="col-xs-6 col-sm-5 col-md-4 first-home-links-col"> |
24 | 24 | |
25 | 25 | <a class="first-home-program" target="_blank" |
26 | - href="/pdf/Kyiv_-_EM_and_9th_Forum_-_OverviewHyper_MASTER_07-5_Clean.pdf" ><span> | |
26 | + href="/pdf/<?=\Yii::$app->params['pdf_instruction'][$currentLang]?>" ><span> | |
27 | 27 | <?=\Yii::t('app', 'Prog z')?></span></a> |
28 | 28 | </div> |
29 | 29 | <div class="col-xs-6 col-sm-5 col-md-4 first-home-links-col"> | ... | ... |