mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
fanbinit 0205
This commit is contained in:
parent
ba8bbda74b
commit
f343dff713
16 changed files with 47 additions and 24 deletions
|
|
@ -58,6 +58,11 @@ class CommentController extends Comment
|
|||
}
|
||||
}
|
||||
}
|
||||
$yeokka_member_srl = Rhymix\Modules\Yeokbox\Models\Config::getConfig()->yeokka_member_srl;
|
||||
if($logged_info->member_srl != $yeokka_member_srl && $oComment->getRegdateTime() < (time() - (86400 * 7)))
|
||||
{
|
||||
throw new Rhymix\Framework\Exception('작성 이후 7일 이상이 경과한 댓글은 추천할 수 없습니다.');
|
||||
}
|
||||
|
||||
$point = 1;
|
||||
$allow_same_ip = ($comment_config->allow_vote_from_same_ip ?? 'N') === 'Y';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue