|
@ -106,7 +106,7 @@ abstract class Upload |
|
|
*/ |
|
|
*/ |
|
|
$greagwar_image = $tmp_file_path; |
|
|
$greagwar_image = $tmp_file_path; |
|
|
} else { |
|
|
} else { |
|
|
$greagwar_image = self::getGreagwarImage(self::getFilePath($tmp_file_path)); |
|
|
|
|
|
|
|
|
$greagwar_image = self::getGreagwarImage($tmp_file_path); |
|
|
} |
|
|
} |
|
|
if ($width || $height) { |
|
|
if ($width || $height) { |
|
|
if (!(ImageVariant::getIsClass($image)) && Image::getIsSubClass($image)) { |
|
|
if (!(ImageVariant::getIsClass($image)) && Image::getIsSubClass($image)) { |
|
|