mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
procFileImageResize 함수의 $output 변수를 stdClass로 초기화
This commit is contained in:
parent
b32367a464
commit
3f038dd830
1 changed files with 1 additions and 1 deletions
|
|
@ -112,11 +112,11 @@ class fileController extends file
|
||||||
$source_src = $fileInfo->uploaded_filename;
|
$source_src = $fileInfo->uploaded_filename;
|
||||||
$output_src = $source_src . '.resized' . strrchr($source_src,'.');
|
$output_src = $source_src . '.resized' . strrchr($source_src,'.');
|
||||||
|
|
||||||
$type = 'ratio';
|
|
||||||
if(!$height) $height = $width-1;
|
if(!$height) $height = $width-1;
|
||||||
|
|
||||||
if(FileHandler::createImageFile($source_src,$output_src,$width,$height,'','ratio'))
|
if(FileHandler::createImageFile($source_src,$output_src,$width,$height,'','ratio'))
|
||||||
{
|
{
|
||||||
|
$output = new stdClass();
|
||||||
$output->info = getimagesize($output_src);
|
$output->info = getimagesize($output_src);
|
||||||
$output->src = $output_src;
|
$output->src = $output_src;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue