mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
엮인글 모듈에서 전체 엮인글 받지 않음 기능 설정하도록 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
998e5dc57f
commit
402cbb2ba3
10 changed files with 61 additions and 3 deletions
|
|
@ -17,12 +17,14 @@
|
|||
* @brief 엮인글 입력
|
||||
**/
|
||||
function trackback() {
|
||||
// 설정 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('trackback');
|
||||
if($config->enable_trackback == 'N') return $this->stop('fail');
|
||||
|
||||
Context::setRequestMethod("XMLRPC");
|
||||
|
||||
$obj = Context::gets('document_srl','blog_name','url','title','excerpt');
|
||||
|
||||
if(!$obj->document_srl || !$obj->url || !$obj->title || !$obj->excerpt) return $this->stop('fail');
|
||||
|
||||
return $this->insertTrackback($obj);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue