- Timestamp:
- 2007-08-28T14:15:54+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/w32server/cgiwrapper.cpp
r12761 r14388 65 65 #include "authenaction.h" 66 66 #include "usersaction.h" 67 #include "userdb.h" 67 68 #include "extlinkaction.h" 68 69 #include "collectoraction.h" … … 490 491 nproto.set_collectset(cservers); 491 492 493 text_t userdbfile = filename_cat(gsdl_gsdlhome, "etc", "users.db"); 494 userdbclass *udb = new userdbclass(userdbfile); 495 496 text_t keydbfile = filename_cat(gsdl_gsdlhome, "etc", "key.db"); 497 keydbclass *kdb = new keydbclass(keydbfile); 498 492 499 // add the protocol to the receptionist 493 500 if (atStartup) recpt.add_protocol (&nproto); … … 530 537 if (ausersaction == NULL) { 531 538 ausersaction = new usersaction(); 539 ausersaction->set_userdb(udb); 532 540 recpt.add_action (ausersaction); 533 541 } … … 546 554 if (aauthenaction == NULL) { 547 555 aauthenaction = new authenaction(); 556 aauthenaction->set_userdb(udb); 557 aauthenaction->set_keydb(kdb); 548 558 aauthenaction->set_receptionist(&recpt); 549 559 recpt.add_action (aauthenaction);
Note:
See TracChangeset
for help on using the changeset viewer.