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:

index.php
88 88
		case 'max_excerpt':
89 89
			$template->set_var('SEARCH_MAX_EXCERPT', $setting_value);
90 90
		break;
91
		// time-limit
92
		case 'time_limit':
93
			$template->set_var('SEARCH_TIME_LIMIT', $setting_value);
94
		break;
91 95
		// Search template
92 96
		case 'template':
93 97
			$search_template = $setting_value;
......
615 619
								'MODE_SWITCH_WARNING' => $MESSAGE['SETTINGS']['MODE_SWITCH_WARNING'],
616 620
								'WORLD_WRITEABLE_WARNING' => $MESSAGE['SETTINGS']['WORLD_WRITEABLE_WARNING'],
617 621
								'TEXT_MODULE_ORDER' => $TEXT['MODULE_ORDER'],
618
								'TEXT_MAX_EXCERPT' => $TEXT['MAX_EXCERPT']
622
								'TEXT_MAX_EXCERPT' => $TEXT['MAX_EXCERPT'],
623
								'TEXT_TIME_LIMIT' => $TEXT['TIME_LIMIT']
619 624
								)
620 625
						);
621 626

  

Also available in: Unified diff