#105531 Модерация. Ошибка при попытке загрузить фото товара
This commit is contained in:
parent
f23aee6dcb
commit
ff4c7d51dd
2
File.php
2
File.php
|
@ -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".
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue