Browse Source

post search: missed default config

pull/40/head
czaks 11 years ago
parent
commit
8772c31ce1
  1. 22
      inc/config.php

22
inc/config.php

@ -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+)

Loading…
Cancel
Save