summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index bbc899ef..74794645 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1086,6 +1086,28 @@
/*
* ====================
+ * Public post search
+ * ====================
+ */
+ $config['search'] = array();
+
+ // Enable the search form
+ $config['search']['enable'] = false;
+
+ // Maximal number of queries per IP address per minutes
+ $config['search']['queries_per_minutes'] = Array(15, 2);
+
+ // Global maximal number of queries per minutes
+ $config['search']['queries_per_minutes_all'] = Array(50, 2);
+
+ // Limit of search results
+ $config['search']['search_limit'] = 100;
+
+ // Boards for searching
+ //$config['search']['boards'] = array('a', 'b', 'c', 'd', 'e');
+
+/*
+ * ====================
* Events (PHP 5.3.0+)
* ====================
*/