mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
Merge branch 'fix/profile-image-mtime' into crazymerge
This commit is contained in:
commit
dbb8629e0a
1 changed files with 3 additions and 3 deletions
|
|
@ -961,7 +961,7 @@ class memberModel extends member
|
|||
$info = new stdClass();
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_name_file;
|
||||
$info->src = Context::getRequestUri().$image_name_file . '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->file = './'.$image_name_file;
|
||||
$GLOBALS['__member_info__']['profile_image'][$member_srl] = $info;
|
||||
break;
|
||||
|
|
@ -986,7 +986,7 @@ class memberModel extends member
|
|||
$info = new stdClass;
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_name_file;
|
||||
$info->src = Context::getRequestUri().$image_name_file. '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->file = './'.$image_name_file;
|
||||
$GLOBALS['__member_info__']['image_name'][$member_srl] = $info;
|
||||
}
|
||||
|
|
@ -1008,7 +1008,7 @@ class memberModel extends member
|
|||
list($width, $height, $type, $attrs) = getimagesize($image_mark_file);
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_mark_file;
|
||||
$info->src = Context::getRequestUri().$image_mark_file . '?' . date('YmdHis', filemtime($image_mark_file));
|
||||
$info->file = './'.$image_mark_file;
|
||||
$GLOBALS['__member_info__']['image_mark'][$member_srl] = $info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue