디버그를 위한 코드와 코드의 들여쓰기가 잘못된 부분을 고침

This commit is contained in:
qw5414 2016-01-22 01:20:27 +09:00
parent 19a32d195a
commit 1ba633ff83
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
<action name="getDocumentMenu" type="model" /> <action name="getDocumentMenu" type="model" />
<action name="procDocumentVoteUp" type="controller" /> <action name="procDocumentVoteUp" type="controller" />
<action name="procDocumentVoteUpCancel" type="controller" />. <action name="procDocumentVoteUpCancel" type="controller" />.
<action name="procDocumentVoteDown" type="controller" /> <action name="procDocumentVoteDown" type="controller" />
<action name="procDocumentDeclare" type="controller" /> <action name="procDocumentDeclare" type="controller" />
<action name="procDocumentAddCart" type="controller" /> <action name="procDocumentAddCart" type="controller" />

View file

@ -1179,11 +1179,11 @@ class documentController extends document
$oDocumentModel = getModel('document'); $oDocumentModel = getModel('document');
$oDocument = $oDocumentModel->getDocument($document_srl, false, false); $oDocument = $oDocumentModel->getDocument($document_srl, false, false);
// Pass if the author's IP address is as same as visitor's. // Pass if the author's IP address is as same as visitor's.
/*if($oDocument->get('ipaddress') == $_SERVER['REMOTE_ADDR']) if($oDocument->get('ipaddress') == $_SERVER['REMOTE_ADDR'])
{ {
$_SESSION['voted_document'][$document_srl] = true; $_SESSION['voted_document'][$document_srl] = true;
return new Object(-1, $failed_voted); return new Object(-1, $failed_voted);
}*/ }
// Create a member model object // Create a member model object
$oMemberModel = getModel('member'); $oMemberModel = getModel('member');