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