mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Merge pull request #1759 from YJSoft/bugfix/stdClass
procFileImageResize 함수의 $output 변수를 stdClass로 초기화
This commit is contained in:
commit
62c3712cf1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue