document.controller.php
// Leave in the session information
$_SESSION['voted_document'][$document_srl] = true;//이거아래
if(Context::get('mid')=='app_rank'){
$oPointController = &getController('point');
$oPointController->setPoint(Context::get('logged_info')->member_srl, 1, 'add');
}
// Return result
if($point > 0)//이거위에