념글모드 테스트

This commit is contained in:
Lastorder 2024-06-23 20:49:19 +09:00 committed by GitHub
parent 88d65d52a9
commit 6af71f7940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -500,6 +500,7 @@ class BoardView extends Board
$args->page = intval(Context::get('page')) ?: null;
$args->list_count = $this->list_count;
$args->page_count = $this->page_count;
if(Context::get('v_mode') == 'recommended') $args->s_voted_count = 5;
if (isset($this->module_info->include_days) && $this->module_info->include_days > 0)
{
$args->start_regdate = date('YmdHis', time() - ($this->module_info->include_days * 86400));