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/receptionist.cpp

    r2113 r2212  
    206206    cgiarginfo *info = NULL;
    207207    if (key == "gsdlhome") configinfo.gsdlhome = cfgline[0];
     208    else if (key == "gdbmhome") configinfo.gdbmhome = cfgline[0];
    208209    else if (key == "collection") {
    209210      configinfo.collection = cfgline[0];
     
    660661  }
    661662
    662   text_t logfile = filename_cat (configinfo.gsdlhome, "etc");
    663   logfile = filename_cat (logfile, "usage.txt");
     663  text_t logfile = filename_cat (configinfo.gdbmhome, "etc", "usage.txt");
    664664
    665665  text_t logstr = script_name;
Note: See TracChangeset for help on using the changeset viewer.