Changeset 1090 for trunk/gsdl/src/recpt
- Timestamp:
- 2000-04-14T15:10:35+12:00 (24 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiwrapper.cpp
r1089 r1090 28 28 /* 29 29 $Log$ 30 Revision 1.24 2000/04/14 03:10:35 sjboddie 31 tidied up a few issues concerning the new debug info which showed 32 up on windows 33 30 34 Revision 1.23 2000/04/14 02:52:05 sjboddie 31 35 tidied up error messaging and set up some debugging info to be output … … 238 242 239 243 if (mode == 0) { 240 errortext += "The gsdlsite.cfg configuration file could not be found. This file\n"; 241 errortext += "should contain configuration information relating to this site's setup.\n"; 242 errortext += "gsdlsite.cfg should reside in the same directory as this executable file.\n"; 244 errortext += "The gsdlsite.cfg configuration file could not be found. This\n"; 245 errortext += "file should contain configuration information relating to this\n"; 246 errortext += "site's setup.\n"; 247 243 248 } else if (mode == 1) { 244 errortext += "The gsdlsite.cfg configuration file does not contain a valid gsdlhome entry.\n"; 245 errortext += "gsdlsite.cfg resides in the same directory as this executable.\n"; 249 errortext += "The gsdlsite.cfg configuration file does not contain a valid\n"; 250 errortext += "gsdlhome entry.\n"; 251 } 252 253 if (debug) { 254 errortext += "gsdlsite.cfg should reside in the directory from which the\n"; 255 errortext += "library executable was run.\n"; 256 } else { 257 errortext += "gsdlsite.cfg should reside in the same directory as the library\n"; 258 errortext += "executable file.\n"; 246 259 } 247 260 -
trunk/gsdl/src/recpt/recptconfig.cpp
r1089 r1090 28 28 /* 29 29 $Log$ 30 Revision 1.8 2000/04/14 03:10:35 sjboddie 31 tidied up a few issues concerning the new debug info which showed 32 up on windows 33 30 34 Revision 1.7 2000/04/14 02:52:06 sjboddie 31 35 tidied up error messaging and set up some debugging info to be output … … 83 87 text_tarray cfgline; 84 88 text_t key; 85 ifstream confin ("gsdlsite.cfg" );89 ifstream confin ("gsdlsite.cfg", ios::in | ios::nocreate); 86 90 87 91 if (confin) { … … 118 122 text_tarray cfgline; 119 123 text_t key; 120 ifstream confin ("gsdlsite.cfg" );124 ifstream confin ("gsdlsite.cfg", ios::in | ios::nocreate); 121 125 122 126 if (confin) { … … 149 153 if (file_exists (filename)) { 150 154 char *cstr = filename.getcstr(); 151 ifstream confin (cstr );155 ifstream confin (cstr, ios::in | ios::nocreate); 152 156 delete cstr; 153 157 … … 182 186 if (!filename.empty()) { 183 187 char *cstr = filename.getcstr(); 184 ifstream confin (cstr );188 ifstream confin (cstr, ios::in | ios::nocreate); 185 189 delete cstr; 186 190
Note:
See TracChangeset
for help on using the changeset viewer.