mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
blogapi 파일첨부 부분의 path와 관련된 의심 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4255 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ecb696276b
commit
db4845b146
1 changed files with 3 additions and 2 deletions
|
|
@ -263,7 +263,8 @@
|
|||
$obj->uploaded_count = $file_count;
|
||||
}
|
||||
}
|
||||
$obj->content = str_replace($uploaded_target_path,sprintf('/files/attach/images/%s/%s/%s', $this->module_srl, $document_srl, $filename), $obj->content);
|
||||
|
||||
$obj->content = str_replace($uploaded_target_path,sprintf('/files/attach/images/%s/%s%s', $this->module_srl, getNumberingPath($document_srl,3), $filename), $obj->content);
|
||||
|
||||
$oDocumentController = &getController('document');
|
||||
$obj->allow_comment = 'Y';
|
||||
|
|
@ -354,7 +355,7 @@
|
|||
$obj->uploaded_count += $file_count;
|
||||
}
|
||||
}
|
||||
$obj->content = str_replace($uploaded_target_path,sprintf('/files/attach/images/%s/%s/%s', $this->module_srl, $document_srl, $filename), $obj->content);
|
||||
$obj->content = str_replace($uploaded_target_path,sprintf('/files/attach/images/%s/%s%s', $this->module_srl, getNumberingPath($document_srl,3), $filename), $obj->content);
|
||||
|
||||
$oDocumentController = &getController('document');
|
||||
$output = $oDocumentController->updateDocument($oDocument,$obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue