From 0af1885076cce515d1f2151474888e5dd668536a Mon Sep 17 00:00:00 2001 From: Yarik Date: Fri, 23 Jun 2017 15:25:08 +0300 Subject: [PATCH] Pre stable ready --- backend/views/layouts/main.php | 2 +- common/models/Settings.php | 6 +++--- composer.json | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/views/layouts/main.php b/backend/views/layouts/main.php index fe85bab..a3e7932 100755 --- a/backend/views/layouts/main.php +++ b/backend/views/layouts/main.php @@ -7,12 +7,12 @@ use artbox\catalog\assets\CatalogAsset; use artbox\core\assets\ArtboxCoreAsset; + use artbox\core\components\imagemanager\components\ImageManagerGetPath; use artbox\core\models\User; use artbox\core\models\UserData; use artbox\core\widgets\FeedbackWidget; use artbox\core\widgets\FlashWidget; use artbox\order\assets\OrderAsset; - use noam148\imagemanager\components\ImageManagerGetPath; use yii\bootstrap\Html; use yii\web\View; use yii\widgets\Breadcrumbs; diff --git a/common/models/Settings.php b/common/models/Settings.php index f74b3b1..933bd12 100755 --- a/common/models/Settings.php +++ b/common/models/Settings.php @@ -1,7 +1,7 @@ ImageManager::className(), + 'targetClass' => Image::className(), 'targetAttribute' => 'id', ], [ diff --git a/composer.json b/composer.json index 50d4f7e..0b17610 100755 --- a/composer.json +++ b/composer.json @@ -21,7 +21,6 @@ "yiisoft/yii2": "~2.0.11", "yiisoft/yii2-bootstrap": "~2.0", "yiisoft/yii2-swiftmailer": "~2.0", - "noam148/yii2-image-manager": "~1.0", "yiister/yii2-gentelella": "~1.0", "yii2tech/filedb": "~1.0", "hiqdev/yii2-asset-pnotify": "~2.0", -- libgit2 0.21.4