forked from leftypol/leftypol
GdMediaHandler.php: fix init
This commit is contained in:
parent
82c06f923a
commit
be43c419c1
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ class GdMediaHandler implements MediaHandler {
|
||||||
public function __construct(bool $strip_redraw, array $exif_readers, int $max_width, int $max_height) {
|
public function __construct(bool $strip_redraw, array $exif_readers, int $max_width, int $max_height) {
|
||||||
$this->strip_redraw = $strip_redraw;
|
$this->strip_redraw = $strip_redraw;
|
||||||
$this->exif_readers = $exif_readers;
|
$this->exif_readers = $exif_readers;
|
||||||
|
$this->image_max_width = $max_width;
|
||||||
|
$this->image_max_height = $max_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supportsMime(string $mime): bool {
|
public function supportsMime(string $mime): bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue