1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

post search: missed default config

This commit is contained in:
czaks 2013-07-20 22:45:21 -04:00
parent 34a5b2c543
commit c8a72be62f

View File

@ -1084,6 +1084,28 @@
// Execute un-filtered SQL queries on the database (?/debug/sql)
$config['mod']['debug_sql'] = DISABLED;
/*
* ====================
* 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+)