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