summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-30 00:56:38 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-30 00:56:38 +1100
commitb2ae5fdcba9c61383f990034eebdbd5270a81e29 (patch)
tree645a04e466c6ef4e41189195d8db922d3a6527d5 /inc
parent80955172e98938f96a9b6c08ec9886d74500552f (diff)
Basic search function for mods
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index f7cf1e55..710edced 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -250,6 +250,8 @@
$config['mod']['recent_reports'] = 5;
// How many actions to show per page in the moderation log
$config['mod']['modlog_page'] = 350;
+ // Maximum number of results to display for a search, per board
+ $config['mod']['search_results'] = 75;
// Probably best not to change these:
if(!defined('JANITOR')) {
@@ -333,6 +335,8 @@
$config['mod']['create_pm'] = JANITOR;
// Rebuild everything
$config['mod']['rebuild'] = ADMIN;
+ // Search through posts
+ $config['mod']['search'] = JANITOR;
// Wait indefinitely when rebuilding everything
$config['mod']['rebuild_timelimit'] = 0;