Automation init...3
This commit is contained in:
parent
6a4428755e
commit
bceec3122e
@ -43,7 +43,7 @@ class MangboardStorage extends FileStorage
|
||||
{
|
||||
//Board 게시판 image_path , content용 데이터 배열에 추가 후 modifyBoard에서 처리
|
||||
switch ($this->getOrintginType()) {
|
||||
case "image":
|
||||
case "img":
|
||||
$content = sprintf(
|
||||
"<img src=\"%s/%s/%s\" alt=\"%s\">",
|
||||
$this->getUploadURL(),
|
||||
|
||||
@ -173,7 +173,7 @@ class BoardModel extends CommonModel
|
||||
if ($formDatas['image_path'] == "") {
|
||||
$formDatas['image_path'] = $storage->getBasePath() . DIRECTORY_SEPARATOR . $storage->getPath() . DIRECTORY_SEPARATOR . $storage->getOriginName();
|
||||
}
|
||||
$formDatas['content'] .= $storage->getHTMLTag();;
|
||||
$formDatas['content'] .= $storage->getHTMLTag();
|
||||
}
|
||||
//망보드 게시판에 등록
|
||||
if ($formDatas['content'] == "") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user