Commit 0af1885076cce515d1f2151474888e5dd668536a
1 parent
65876dfe
Pre stable ready
Showing
3 changed files
with
4 additions
and
5 deletions
Show diff stats
backend/views/layouts/main.php
... | ... | @@ -7,12 +7,12 @@ |
7 | 7 | |
8 | 8 | use artbox\catalog\assets\CatalogAsset; |
9 | 9 | use artbox\core\assets\ArtboxCoreAsset; |
10 | + use artbox\core\components\imagemanager\components\ImageManagerGetPath; | |
10 | 11 | use artbox\core\models\User; |
11 | 12 | use artbox\core\models\UserData; |
12 | 13 | use artbox\core\widgets\FeedbackWidget; |
13 | 14 | use artbox\core\widgets\FlashWidget; |
14 | 15 | use artbox\order\assets\OrderAsset; |
15 | - use noam148\imagemanager\components\ImageManagerGetPath; | |
16 | 16 | use yii\bootstrap\Html; |
17 | 17 | use yii\web\View; |
18 | 18 | use yii\widgets\Breadcrumbs; | ... | ... |
common/models/Settings.php
1 | 1 | <?php |
2 | 2 | namespace common\models; |
3 | - | |
4 | - use noam148\imagemanager\models\ImageManager; | |
3 | + | |
4 | + use artbox\core\models\Image; | |
5 | 5 | use yii2tech\filedb\ActiveRecord; |
6 | 6 | use Yii; |
7 | 7 | |
... | ... | @@ -115,7 +115,7 @@ |
115 | 115 | 'logo', |
116 | 116 | ], |
117 | 117 | 'exist', |
118 | - 'targetClass' => ImageManager::className(), | |
118 | + 'targetClass' => Image::className(), | |
119 | 119 | 'targetAttribute' => 'id', |
120 | 120 | ], |
121 | 121 | [ | ... | ... |
composer.json
... | ... | @@ -21,7 +21,6 @@ |
21 | 21 | "yiisoft/yii2": "~2.0.11", |
22 | 22 | "yiisoft/yii2-bootstrap": "~2.0", |
23 | 23 | "yiisoft/yii2-swiftmailer": "~2.0", |
24 | - "noam148/yii2-image-manager": "~1.0", | |
25 | 24 | "yiister/yii2-gentelella": "~1.0", |
26 | 25 | "yii2tech/filedb": "~1.0", |
27 | 26 | "hiqdev/yii2-asset-pnotify": "~2.0", | ... | ... |