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,6 +9,7 @@
9 use artbox\core\components\SeoComponent; 9 use artbox\core\components\SeoComponent;
10 use artbox\core\models\Feedback; 10 use artbox\core\models\Feedback;
11 use artbox\core\models\User; 11 use artbox\core\models\User;
  12 + use common\models\Settings;
12 use frontend\assets\AppAsset; 13 use frontend\assets\AppAsset;
13 use yii\bootstrap\ActiveForm; 14 use yii\bootstrap\ActiveForm;
14 use yii\bootstrap\Nav; 15 use yii\bootstrap\Nav;
@@ -20,6 +21,7 @@ @@ -20,6 +21,7 @@
20 $user = \Yii::$app->user->identity; 21 $user = \Yii::$app->user->identity;
21 $seo = Yii::$app->get('seo'); 22 $seo = Yii::$app->get('seo');
22 $feedback = new Feedback(); 23 $feedback = new Feedback();
  24 + $settings = Settings::getInstance();
23 ?> 25 ?>
24 26
25 <?php $this->beginPage() ?> 27 <?php $this->beginPage() ?>