Project

General

Profile

« Previous | Next » 

Revision 761

Added by thorn over 16 years ago

search: great speed-up with large pages - requires PHP >= 4.3.3; small speed-up for PHP < 4.3.3.
FCK-Editor: loads large pages faster

View differences:

upgrade-script.php
281 281
// cfg_search_description - whether to search in page-description (true/false), def: true [only used while searching title/link/description/keywords]
282 282
// cfg_search_keywords - whether to search in page-keywords (true/false), def: true [only used while searching title/link/description/keywords]
283 283
// cfg_enable_old_search - use old search-method, too (true/false), def: true [use old method as fallback]
284
// cfg_enable_flush - use "ob_flush();flush();" after every page on result page. Will speedup response of result page, but may break template
284 285
$cfg = array(
285 286
	'cfg_show_description' => 'true',
286 287
	'cfg_search_description' => 'true',
287 288
	'cfg_search_keywords' => 'true',
288
	'cfg_enable_old_search' => 'true'
289
	'cfg_enable_old_search' => 'true',
290
	'cfg_enable_flush' => 'false'
289 291
);
290 292
foreach($cfg as $key=>$value) {
291 293
	db_add_search_key_value($key, $value);

Also available in: Unified diff