mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
본문 삽입시 이미지 URL을 상대경로로 변경
This commit is contained in:
parent
97a1b578a2
commit
7125cf0e12
7 changed files with 10 additions and 63 deletions
|
|
@ -48,7 +48,7 @@ class fileModel extends file
|
|||
$obj->file_size = $file_info->file_size;
|
||||
$obj->disp_file_size = FileHandler::filesize($file_info->file_size);
|
||||
if($file_info->direct_download=='N') $obj->download_url = $this->getDownloadUrl($file_info->file_srl, $file_info->sid, $file_info->module_srl);
|
||||
else $obj->download_url = str_replace('./', '', $file_info->uploaded_filename);
|
||||
else $obj->download_url = $file_info->uploaded_filename;
|
||||
$obj->direct_download = $file_info->direct_download;
|
||||
$obj->cover_image = ($file_info->cover_image === 'Y') ? true : false;
|
||||
$files[] = $obj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue