Ignore:
Timestamp:
2008-07-09T13:12:15+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of 'collecthome' which parallels 'gsdlhome' to allow the toplevel collect folder to be outside of the gsdlhome area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/protocol/nullproto.cpp

    r15588 r16310  
    4545// collectset has been added to the protocol with set_collectset()
    4646void nullproto::add_collection (const text_t &collection, void *recpt,
    47                 const text_t &gsdlhome, const text_t &dbhome) {     
     47                const text_t &gsdlhome, const text_t& collecthome,
     48                const text_t &dbhome)
     49{     
    4850 
    4951  if (cset != NULL) {
    50     this->cset->add_collection (collection, gsdlhome);
     52    this->cset->add_collection (collection, gsdlhome, collecthome);
    5153  }
    5254}
     
    7072  // the protocol should not configure the collection set; it should be
    7173  // done direct to the collection server set
    72   if (key == "gsdlhome" || key == "gdbmhome") {
     74  if (key == "gsdlhome" || key == "gdbmhome"
     75      || key == "collecthome" || key == "collectdir") {
    7376    cset->configure(key, cfgline);
    7477  }
Note: See TracChangeset for help on using the changeset viewer.