mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 04:12:18 +09:00
#377 절대경로로 사용자 업로드 이미지가 출력되는 문제 수정
This commit is contained in:
parent
5f2e9b5fcb
commit
8880f81463
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ class layoutAdminModel extends layout
|
|||
$layout_image_list = $oLayoutModel->getUserLayoutImageList($layout_info->layout_srl);
|
||||
Context::set('layout_image_list', $layout_image_list);
|
||||
|
||||
$layout_image_path = sprintf("./files/faceOff/%s/images/", getNumberingPath($layout_info->layout_srl,3));
|
||||
$layout_image_path = $oLayoutModel->getUserLayoutImagePath($layout_info->layout_srl);
|
||||
Context::set('layout_image_path', $layout_image_path);
|
||||
// Set widget list
|
||||
$oWidgetModel = getModel('widget');
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ class layoutModel extends layout
|
|||
*/
|
||||
function getUserLayoutPath($layout_srl)
|
||||
{
|
||||
return sprintf("%sfiles/faceOff/%s", _XE_PATH_, getNumberingPath($layout_srl,3));
|
||||
return sprintf("./files/faceOff/%s", getNumberingPath($layout_srl,3));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue