Changed minimum title and post lengths.
This commit is contained in:
parent
ded21eb9c6
commit
a057c51212
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
define('MSZ_TOPIC_TITLE_LENGTH_MIN', 2);
|
define('MSZ_TOPIC_TITLE_LENGTH_MIN', 3);
|
||||||
define('MSZ_TOPIC_TITLE_LENGTH_MAX', 100);
|
define('MSZ_TOPIC_TITLE_LENGTH_MAX', 100);
|
||||||
define('MSZ_POST_TEXT_LENGTH_MIN', 2);
|
define('MSZ_POST_TEXT_LENGTH_MIN', 1);
|
||||||
define('MSZ_POST_TEXT_LENGTH_MAX', 60000);
|
define('MSZ_POST_TEXT_LENGTH_MAX', 60000);
|
||||||
|
|
||||||
function forum_validate_title(string $title): string
|
function forum_validate_title(string $title): string
|
||||||
|
|
Loading…
Add table
Reference in a new issue