1 |
dpavlin |
1.1 |
<? |
2 |
|
|
|
3 |
|
|
// Database Format - support for new table formats |
4 |
|
|
// Can be '3.0' (default) or '3.1' - according to udmsearch version |
5 |
|
|
$db_format='3.1'; |
6 |
|
|
|
7 |
|
|
// path to required tools |
8 |
|
|
$grep='/bin/grep'; |
9 |
|
|
$crc32='./crc32'; |
10 |
|
|
|
11 |
|
|
// debug output (0-no, 1-yes) |
12 |
|
|
$DEBUG=0; |
13 |
|
|
|
14 |
|
|
// maximal page number to view |
15 |
|
|
$MAX_NP=1000; |
16 |
|
|
|
17 |
|
|
// maximum results per page |
18 |
|
|
$MAX_PS=100; |
19 |
|
|
|
20 |
|
|
// (optional) default query type - possible values : "and", "or" |
21 |
|
|
// "and" - default value. This can be reassigned via search template. |
22 |
|
|
// $DEFAULT_QUERY_TYPE='and'; |
23 |
|
|
|
24 |
|
|
// (optional) locale |
25 |
|
|
// $LC_ALL='ru_RU.KOI8-R'; |
26 |
|
|
|
27 |
|
|
// (optional) odbc cursor type. Use if your ODBC driver fails to work. |
28 |
|
|
// Possible values are: SQL_CUR_USE_IF_NEEDED, SQL_CUR_USE_ODBC, |
29 |
|
|
// SQL_CUR_USE_DRIVER, SQL_CUR_DEFAULT |
30 |
|
|
// $dbodbc_cursor_type = SQL_CUR_USE_IF_NEEDED; |
31 |
|
|
|
32 |
|
|
// (optional) default value for TrackQuery template parameter |
33 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
34 |
|
|
// $trackquery='no'; |
35 |
|
|
|
36 |
|
|
// (optional) default value for russian boolean language enchance variable |
37 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
38 |
|
|
// 'yes' means that query language should be enchanced with russian |
39 |
|
|
// equivalents of 'and', 'or' and 'not' |
40 |
|
|
// $rus_bool_lang='no'; |
41 |
|
|
|
42 |
|
|
// (optional) Enable language content negotiation |
43 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
44 |
|
|
// $lang_content_negotiation='no'; |
45 |
|
|
|
46 |
|
|
// (optional) Enable language url translation (file.en.ext -> file) |
47 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
48 |
|
|
// $lang_url_translation='no'; |
49 |
|
|
|
50 |
|
|
// (optional) Enable soundex support |
51 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
52 |
|
|
// $soundex='no'; |
53 |
|
|
|
54 |
|
|
// (optional) Enable stopwords highlighting |
55 |
|
|
// 'no' - default value, can be 'yes' or 'no' |
56 |
|
|
// $highlight_stopwords='no'; |
57 |
|
|
|
58 |
|
|
?> |