Changeset 11984
- Timestamp:
- 2006-06-30T16:00:11+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/collectserver.cpp
r11964 r11984 177 177 else if (key == "receptionist") collectinfo.receptionist = value; 178 178 else if (key == "buildtype") collectinfo.buildType = value; 179 // backwards compatibility - searchytpes is now a format statement 179 180 else if (key == "searchtype") { // means buildtype is mgpp 180 181 if (collectinfo.buildType.empty()) { 181 182 collectinfo.buildType = "mgpp"; 182 183 } 183 collectinfo.searchTypes = cfgline; 184 joinchar(cfgline, ',', collectinfo.format["SearchTypes"]); 185 //collectinfo.searchTypes = cfgline; 184 186 } 185 187 else if (key == "separate_cjk") { … … 191 193 192 194 // What have we set for our group list 193 else if (key == "auth_group") 194 { 195 // use the joinchar helper function from 196 // text_t.h, it takes in the whole cfgline 197 // array and a separator aka a comma in our 198 // case and returns a sting separated by a 199 // comma like this: 200 // 201 // Rene,Kolla,Crystal,Stefan,Aly,Ian 202 203 joinchar(cfgline,',',collectinfo.auth_group); 204 205 //outconvertclass t; 206 //cerr << t << collectinfo.auth_group << "\n"; 207 } 195 else if (key == "auth_group") joinchar(cfgline,',',collectinfo.auth_group); 208 196 209 197 // store all the mappings for use when collection meta is read later
Note:
See TracChangeset
for help on using the changeset viewer.