Commit bf6f4dcbcd98f6d7c16a4cde9e44382d7cbd537b

Authored by Alexey Boroda
1 parent 29d488ad

-Image model

backend/views/layouts/menu_items.php
... ... @@ -65,9 +65,9 @@
65 65 ],
66 66 ],
67 67 [
68   - 'label' => \Yii::t('app', 'SEO'),
  68 + 'label' => \Yii::t('app', 'Catalog'),
69 69 'url' => '#',
70   - 'icon' => 'bolt',
  70 + 'icon' => 'tags',
71 71 'items' => [
72 72 [
73 73 'label' => \Yii::t('core', 'Category'),
... ...
common/config/main.php
... ... @@ -30,10 +30,6 @@
30 30 'class' => 'yii\i18n\PhpMessageSource',
31 31 'basePath' => '@artbox/catalog/messages',
32 32 ],
33   - 'catalog' => [
34   - 'class' => 'yii\i18n\PhpMessageSource',
35   - 'basePath' => '@artbox/catalog/messages',
36   - ],
37 33 'app' => [
38 34 'class' => 'yii\i18n\PhpMessageSource',
39 35 'basePath' => '@common/messages',
... ... @@ -54,7 +50,7 @@
54 50 ],
55 51 'imagemanager' => [
56 52 'class' => 'noam148\imagemanager\components\ImageManagerGetPath',
57   - 'mediaPath' => dirname(dirname(__DIR__)) . '/common/images',
  53 + 'mediaPath' => dirname(dirname(__DIR__)) . '/storage',
58 54 'cachePath' => 'assets/images',
59 55 'useFilename' => true,
60 56 'absoluteUrl' => false,
... ...