Ignore:
Timestamp:
2009-06-12T15:39:06+12:00 (15 years ago)
Author:
mdewsnip
Message:

Now also looks for collect/<collection>/custom/<collection>/etc/custom.cfg files too, to be consistent with src/colservr/colservrconfig.cpp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/recpt/maincfg.cpp

    r16347 r19820  
    8787      rv |= recpt.read_configfile(filename);
    8888    }
     89
     90    // Look for custom.cfg in <collecthome>/collection-name/custom/collection-name/etc too
     91    filename = filename_cat (collecthome, collection, "custom", collection, "etc", "custom.cfg");
     92    if (file_exists(filename))
     93    {
     94      rv |= recpt.read_configfile(filename);
     95    }
    8996  }
    9097  return rv;
Note: See TracChangeset for help on using the changeset viewer.