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