Ticket #310: template_name_in_omega_config.diff
File template_name_in_omega_config.diff, 1.5 KB (added by , 16 years ago) |
---|
-
omega.conf
9 9 10 10 # Directory containing any cdb files for the $lookup OmegaScript command: 11 11 cdb_dir /var/lib/omega/cdb 12 13 #Template which is used: 14 fmt_name query -
omega.h
43 43 extern string query_string; 44 44 45 45 extern string dbname; 46 extern string fmtname;47 46 extern string filters; 48 47 49 48 extern Xapian::Database db; -
configfile.h
30 30 extern string template_dir; 31 31 extern string log_dir; 32 32 extern string cdb_dir; 33 extern string fmtname; 33 34 34 35 void read_config_file(); 35 36 -
omega.cc
55 55 const string default_dbname = "default"; 56 56 57 57 string dbname; 58 string fmtname = "query";58 string fmtname; 59 59 string filters; 60 60 61 61 Xapian::docid topdoc = 0; -
configfile.cc
94 94 log_dir = value + "/"; 95 95 } else if (name == "cdb_dir") { 96 96 cdb_dir = value + "/"; 97 } else if (name == "fmt_name"){ 98 fmtname = value; 97 99 } 98 100 } 99 101