mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix #984 use relative URL for profile image, image name, etc.
This commit is contained in:
parent
39fa556531
commit
aef258e48a
1 changed files with 3 additions and 3 deletions
|
|
@ -1011,7 +1011,7 @@ class memberModel extends member
|
|||
$info = new stdClass();
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_name_file . '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->src = \RX_BASEURL . $image_name_file . '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->file = './'.$image_name_file;
|
||||
$GLOBALS['__member_info__']['profile_image'][$member_srl] = $info;
|
||||
break;
|
||||
|
|
@ -1044,7 +1044,7 @@ class memberModel extends member
|
|||
$info = new stdClass;
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_name_file. '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->src = \RX_BASEURL . $image_name_file. '?' . date('YmdHis', filemtime($image_name_file));
|
||||
$info->file = './'.$image_name_file;
|
||||
$GLOBALS['__member_info__']['image_name'][$member_srl] = $info;
|
||||
}
|
||||
|
|
@ -1078,7 +1078,7 @@ class memberModel extends member
|
|||
$info = new stdClass;
|
||||
$info->width = $width;
|
||||
$info->height = $height;
|
||||
$info->src = Context::getRequestUri().$image_mark_file . '?' . date('YmdHis', filemtime($image_mark_file));
|
||||
$info->src = \RX_BASEURL . $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