Changeset 2212 for trunk/gsdl/src/recpt/usersaction.cpp
- Timestamp:
- 2001-03-20T21:48:12+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/usersaction.cpp
r1285 r2212 148 148 if (cfgline.size() == 1) { 149 149 if (key == "usersfile") usersfile = cfgline[0]; 150 else if (key == "gsdlhome") {151 if (usersfile.empty())152 usersfile = filename_cat (cfgline[0], "etc", "users.db");153 }154 150 } 155 151 156 152 action::configure (key, cfgline); 153 } 154 155 bool usersaction::init (ostream &logout) { 156 157 if (gdbmhome.empty()) { 158 logout << "ERROR (usersaction::init) gdbmhome is not set\n"; 159 return false; 160 } 161 162 if (usersfile.empty()) usersfile = filename_cat (gdbmhome, "etc", "users.db"); 163 164 return action::init (logout); 157 165 } 158 166
Note:
See TracChangeset
for help on using the changeset viewer.