#105531 Модерация. Ошибка при попытке загрузить фото товара

This commit is contained in:
Александр Рыбкин 2024-11-25 13:04:55 +03:00
parent f23aee6dcb
commit ff4c7d51dd
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use Yii;
use yii\web\UploadedFile; use yii\web\UploadedFile;
use Imagine\Image\Box; use Imagine\Image\Box;
use Imagine\Image\ImageInterface; use Imagine\Image\ImageInterface;
use \yii\imagine\Image; use yii\imagine\Image;
/** /**
* This is the model class for table "file". * This is the model class for table "file".

View File

@ -11,7 +11,8 @@
} }
], ],
"require": { "require": {
"yiisoft/yii2": "~2.0.0" "yiisoft/yii2": "~2.0.0",
"yiisoft/yii2-imagine": "~2.2.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {