Changeset 299
- Timestamp:
- 1999-06-28T10:04:47+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/nullproto.cpp
r269 r299 12 12 /* 13 13 $Log$ 14 Revision 1.8 1999/06/27 22:04:47 sjboddie 15 now read in build.cfg before collect.cfg so that the indexmaps 16 are available if required to decode defaultindex, defaultsubcollection, 17 and defaultlanguage 18 14 19 Revision 1.7 1999/06/15 02:16:45 sjboddie 15 20 small change to prevent collectdir configuration string from being passed … … 77 82 78 83 // configure this collection server 84 85 // note that we read build.cfg before collect.cfg so that the indexmaps 86 // are available to decode defaultindex, defaultsubcollection, and 87 // defaultlanguage 88 if (!build_cfg_read (*((*here).second.c), configinfo.gsdlhome, 89 configinfo.collection)) { 90 outconvertclass text_t2ascii; 91 logout << text_t2ascii 92 << "Error: couldn't read build.cfg file for collection \"" 93 << configinfo.collection << "\", gsdlhome=\"" 94 << configinfo.gsdlhome << "\"\n"; 95 return false; 96 } 97 79 98 if (!collect_cfg_read (*((*here).second.c), configinfo.gsdlhome, 80 99 configinfo.collection)) { … … 83 102 << "Error: couldn't read collect.cfg file for collection \"" 84 103 << configinfo.collection << "\", gsdlhome=\"" 85 << configinfo.gsdlhome << "\"\n";86 return false;87 }88 89 if (!build_cfg_read (*((*here).second.c), configinfo.gsdlhome,90 configinfo.collection)) {91 outconvertclass text_t2ascii;92 logout << text_t2ascii93 << "Error: couldn't read build.cfg file for collection \""94 << configinfo.collection << "\", gsdlhome=\""95 104 << configinfo.gsdlhome << "\"\n"; 96 105 return false;
Note:
See TracChangeset
for help on using the changeset viewer.