Project

General

Profile

« Previous | Next » 

Revision 769

Added by thorn over 16 years ago

search: added search_time_limit in settings (mainly for sites with PHP < 4.3.3 and slow search)

View differences:

upgrade-script.php
263 263
	}
264 264
}
265 265

  
266
echo "<br /><u>Adding module_order and max_excerpt to search-table</u><br />";
266
echo "<br /><u>Adding module_order, max_excerpt and time_limit to search-table</u><br />";
267 267
// module_order - in which order to show the search-results
268 268
// max_excerpt - how many lines of excerpt to print per matching page
269

  
269
// time_limit - time-limit for searching per module
270 270
$cfg = array(
271 271
	'module_order' => 'faqbaker,manual,wysiwyg',
272
	'max_excerpt' => '15'
272
	'max_excerpt' => '15',
273
	'time_limit' => '0'
273 274
);
274 275
foreach($cfg as $key=>$value) {
275 276
	db_add_search_key_value($key, $value);

Also available in: Unified diff