Merge pull request #378 from smaker/php54

PHP 5.4에서 발생하는 호환성 문제 수정
This commit is contained in:
sungbum hong 2014-01-28 02:04:44 -08:00
commit 6a1614f396
5 changed files with 18 additions and 1 deletions

View file

@ -892,6 +892,7 @@ class memberModel extends member
if(file_exists($image_name_file))
{
list($width, $height, $type, $attrs) = getimagesize($image_name_file);
$info = new stdClass;
$info->width = $width;
$info->height = $height;
$info->src = Context::getRequestUri().$image_name_file;