mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
board모듈의 dispBoardContentList에서 누락된 코드 보완
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5167 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c40ea62b34
commit
3ec3f87a12
2 changed files with 7 additions and 2 deletions
|
|
@ -220,6 +220,8 @@
|
|||
if(!in_array($args->sort_index, $this->order_target)) $args->sort_index = $this->module_info->order_target?$this->module_info->order_target:'list_order';
|
||||
if(!in_array($args->order_type, array('asc','desc'))) $args->order_type = $this->module_info->order_type?$this->module_info->order_type:'asc';
|
||||
|
||||
$oDocument = $oDocumentModel->getDocument(Context::get('document_srl'));
|
||||
|
||||
// 특정 문서의 permalink로 직접 접속할 경우 page값을 직접 구함
|
||||
if(count($_GET)==1 && isset($_GET['document_srl']) && $oDocument->isExists() && !$oDocument->isNotice()) {
|
||||
$page = $oDocumentModel->getDocumentPage($oDocument, $args);
|
||||
|
|
|
|||
|
|
@ -97,8 +97,10 @@
|
|||
{
|
||||
foreach($output->data as $data)
|
||||
{
|
||||
debugPrint("start");
|
||||
$this->deleteFromQueue($data->comment_srl);
|
||||
$this->sendCommentNotify($data->comment_srl);
|
||||
debugPrint("end");
|
||||
}
|
||||
}
|
||||
FileHandler::removeFile($lockFilePath);
|
||||
|
|
@ -177,7 +179,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
$parentHomepage = $oParent->getHomepageUrl();
|
||||
$oMemberModel = &getModel('member');
|
||||
if(!$parentHomepage)
|
||||
|
|
@ -191,7 +192,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
$childHomepage = $oChild->getHomepageUrl();
|
||||
if(!$childHomepage)
|
||||
{
|
||||
|
|
@ -262,8 +262,11 @@
|
|||
|
||||
$oReq->addPostData('r2_body', strip_tags($oChild->get('content')));
|
||||
|
||||
debugPrint($target);
|
||||
$oReq->sendRequest(false);
|
||||
debugPrint("ok");
|
||||
$code = $oReq->getResponseCode();
|
||||
debugPrint($code);
|
||||
return $code;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue