mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
trackback 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8197 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
51026bf32a
commit
8a9f9dbbbd
12 changed files with 28 additions and 7 deletions
|
|
@ -125,10 +125,6 @@
|
|||
* @brief 특정 글에 이미 엮인글이 등록되어 있는지 확인
|
||||
**/
|
||||
function isInsertedTrackback($document_srl) {
|
||||
$config = $this->getConfig();
|
||||
$check_trackback = $config->check_trackback=='Y'?true:false;
|
||||
if(!$check_trackback) return new Object();
|
||||
|
||||
$oTrackbackModel = &getModel('trackback');
|
||||
$count = $oTrackbackModel->getTrackbackCountByIPAddress($document_srl, $_SERVER['REMOTE_ADDR']);
|
||||
if($count>0) return new Object(-1, 'msg_alert_trackback_denied');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue