mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
디버그를 위한 코드와 코드의 들여쓰기가 잘못된 부분을 고침
This commit is contained in:
parent
19a32d195a
commit
1ba633ff83
2 changed files with 3 additions and 3 deletions
|
|
@ -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" />
|
||||||
|
|
|
||||||
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue