From 3f038dd8307a2a28ff4d613a40fb051ec53854af Mon Sep 17 00:00:00 2001 From: YJSoft Date: Mon, 21 Sep 2015 14:58:44 +0900 Subject: [PATCH] =?UTF-8?q?procFileImageResize=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EC=9D=98=20$output=20=EB=B3=80=EC=88=98=EB=A5=BC=20stdClass?= =?UTF-8?q?=EB=A1=9C=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/file/file.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index aa5c61e95..41e304a66 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -112,11 +112,11 @@ class fileController extends file $source_src = $fileInfo->uploaded_filename; $output_src = $source_src . '.resized' . strrchr($source_src,'.'); - $type = 'ratio'; if(!$height) $height = $width-1; if(FileHandler::createImageFile($source_src,$output_src,$width,$height,'','ratio')) { + $output = new stdClass(); $output->info = getimagesize($output_src); $output->src = $output_src; }