Ignore:
Timestamp:
2001-03-20T21:48:12+12:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a bug that was causing the local library server to attempt to write
files to gsdlhome (i.e. the cd-rom drive if served from a cd) under certain
circumstances.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/action.cpp

    r1285 r2212  
    4242// configure should be called once for each configuration line
    4343void action::configure (const text_t &key, const text_tarray &cfgline) {
    44   if (key == "gsdlhome") {gsdlhome = cfgline[0];}
     44  if (key == "gsdlhome") {
     45    gsdlhome = cfgline[0];
     46    if (gdbmhome.empty()) gdbmhome = cfgline[0];
     47  }
     48  if (key == "gdbmhome") {gdbmhome = cfgline[0];}
    4549}
    4650
Note: See TracChangeset for help on using the changeset viewer.