mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
Fix #1190 make comment page count configurable
This commit is contained in:
parent
9b64b0f925
commit
73c5b6d84b
5 changed files with 25 additions and 8 deletions
|
|
@ -1742,6 +1742,11 @@ class commentController extends comment
|
|||
{
|
||||
$comment_config->comment_count = 50;
|
||||
}
|
||||
$comment_config->comment_page_count = (int) Context::get('comment_page_count');
|
||||
if(!$comment_config->comment_page_count)
|
||||
{
|
||||
$comment_config->comment_page_count = 10;
|
||||
}
|
||||
|
||||
$comment_config->use_vote_up = Context::get('use_vote_up');
|
||||
if(!$comment_config->use_vote_up)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue