diff options
| author | Macil Tech <maciltech@gmail.com> | 2013-06-18 12:21:41 -0500 |
|---|---|---|
| committer | Macil Tech <maciltech@gmail.com> | 2013-06-18 12:21:41 -0500 |
| commit | 3eda5b054361f7312b40a14728b76841c01628d2 (patch) | |
| tree | d3769bb2948da90eda5c01c449b81249757bc06e /inc/config.php | |
| parent | fd33e9eba1e72fd4ee5f064944e9592be66c12c1 (diff) | |
Adds image_hard_limit and reply_hard_limit options.
Also reworks the numPosts() function and uses it elsewhere too.
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index cedf3e06..93a2fde2 100644 --- a/inc/config.php +++ b/inc/config.php @@ -311,6 +311,11 @@ // Reply limit (stops bumping thread when this is reached) $config['reply_limit'] = 250; + // Image hard limit (stops allowing new image replies when this is reached if not zero) + $config['image_hard_limit'] = 0; + // Reply hard limit (stops allowing new replies when this is reached if not zero) + $config['reply_hard_limit'] = 0; + // Strip repeating characters when making hashes $config['robot_enable'] = false; $config['robot_strip_repeating'] = true; @@ -659,6 +664,8 @@ $config['error']['noboard'] = _('Invalid board!'); $config['error']['nonexistant'] = _('Thread specified does not exist.'); $config['error']['locked'] = _('Thread locked. You may not reply at this time.'); + $config['error']['reply_hard_limit'] = _('Thread has reached its maximum reply limit.'); + $config['error']['image_hard_limit'] = _('Thread has reached its maximum image limit.'); $config['error']['nopost'] = _('You didn\'t make a post.'); $config['error']['flood'] = _('Flood detected; Post discarded.'); $config['error']['spam'] = _('Your request looks automated; Post discarded.'); |
