greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16320

Show
Ignore:
Timestamp:
2008-07-09 20:18:54 (4 months ago)
Author:
davidb
Message:

Introduction of 'collecthome' to support collections outside of the gsdlhome area

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gsdl/trunk/src/w32server/cgiwrapper.cpp

    r16310 r16320  
    426426      if (dbhomes.find ((*this_info).second.gsdl_dbhome) == dbhomes.end()) { 
    427427        these_collections.erase (these_collections.begin(), these_collections.end()); 
    428         read_dir (filename_cat ((*this_info).second.gsdl_collecthome), these_collections); 
     428        read_dir ((*this_info).second.gsdl_collecthome, these_collections); 
    429429        colhere = these_collections.begin(); 
    430430        colend = these_collections.end(); 
     
    494494    this_dbhome = (*it).second.gsdl_dbhome; 
    495495 
    496     cservers->add_collection (*thiscol, this_gsdlhome); 
     496    cservers->add_collection (*thiscol, this_gsdlhome, this_collecthome); 
    497497 
    498498    ++thiscol;