Commit c691597e50aa9f0671762a4f6960b2bb2f7eb6c2

Authored by Yarik
1 parent 8846484c

Layout begin

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -9,6 +9,7 @@
9 9 use artbox\core\components\SeoComponent;
10 10 use artbox\core\models\Feedback;
11 11 use artbox\core\models\User;
  12 + use common\models\Settings;
12 13 use frontend\assets\AppAsset;
13 14 use yii\bootstrap\ActiveForm;
14 15 use yii\bootstrap\Nav;
... ... @@ -20,6 +21,7 @@
20 21 $user = \Yii::$app->user->identity;
21 22 $seo = Yii::$app->get('seo');
22 23 $feedback = new Feedback();
  24 + $settings = Settings::getInstance();
23 25 ?>
24 26  
25 27 <?php $this->beginPage() ?>
... ...