Commit 98b5afb8bbdc835d2bf6edd11c4db663ab27e258

Authored by Alexey Boroda
1 parent a5201f13

-Menu and bug fix

backend/views/layouts/menu_items.php
... ... @@ -70,10 +70,15 @@
70 70 'icon' => 'tags',
71 71 'items' => [
72 72 [
73   - 'label' => \Yii::t('core', 'Category'),
  73 + 'label' => \Yii::t('catalog', 'Categories'),
74 74 'url' => [ 'category/index' ],
75 75 'icon' => 'file-text',
76 76 ],
  77 + [
  78 + 'label' => \Yii::t('catalog', 'Products'),
  79 + 'url' => [ 'product/index' ],
  80 + 'icon' => 'gift',
  81 + ],
77 82 ],
78 83 ],
79 84 [
... ...
common/config/main.php
... ... @@ -51,7 +51,7 @@
51 51 'imagemanager' => [
52 52 'class' => 'noam148\imagemanager\components\ImageManagerGetPath',
53 53 'mediaPath' => dirname(dirname(__DIR__)) . '/storage',
54   - 'cachePath' => 'assets/images',
  54 + 'cachePath' => '../../storage/cache',
55 55 'useFilename' => true,
56 56 'absoluteUrl' => false,
57 57 ],
... ...