
board.controller.php
function procBoardInsertComment()
{
// check grant
if(!$this->grant->write_comment)
{
return new Object(-1, 'msg_not_permitted');
}
$logged_info = Context::get('logged_info');
// get the relevant data for inserting comment
$obj = Context::getRequestVars();
$obj->module_srl = $this->module_srl;
print_r($obj);
{
// check grant
if(!$this->grant->write_comment)
{
return new Object(-1, 'msg_not_permitted');
}
$logged_info = Context::get('logged_info');
// get the relevant data for inserting comment
$obj = Context::getRequestVars();
$obj->module_srl = $this->module_srl;
print_r($obj);
소스를 위와 같이 수정해서 디버그를 해보고 있습니다.
stdClass Object
(
[_filter] => insert_comment
[error_return_url] => /xe/index.php?mid=board&document_srl=2750&rnd=2763
[mid] => board
[document_srl] => 2750
[content] => <<<
[use_html] => Y
[module] => board
[act] => procBoardInsertComment
[module_srl] => 68
)
[content] => <<< 를 <<< 출력 되도록 하고 싶습니다. 어디를 봐야 될까요?
댓글 1
항상 응원 합니다!