Skip to content

Commit 64ad454

Browse files
committed
Issues-146: Updated MaxCommentLength,MinCommentLength
1 parent 833deaf commit 64ad454

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

config/vanilla/config.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,10 @@
182182
$Configuration['Vanilla']['ActivityComment']['SpamTime'] = '60';
183183
$Configuration['Vanilla']['ActivityComment']['SpamLock'] = '120';
184184

185-
// Should users be automatically pushed to the last comment they read in a discussion?
186-
$Configuration['Vanilla']['Comments']['AutoOffset'] = false;
185+
// Posting Settings:
186+
// Should users be automatically pushed to the last comment they read in a discussion?
187+
$Configuration['Vanilla']['Comments']['AutoOffset'] = false;
188+
// Maximum number of characters allowed in a comment
189+
$Configuration['Vanilla']['Comment']['MaxLength'] = 16000;
190+
// Minimum comment length to discourage short comments
191+
$Configuration['Vanilla']['Comment']['MinLength'] = 2;

0 commit comments

Comments
 (0)