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
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, | ... | ... |