Ignore:
Timestamp:
2008-05-20T11:24:59+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Changed a lot of "gdbmhome" to "dbhome".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/gdbmsource.cpp

    r15584 r15587  
    4848    else if (key == "collectdir") collectdir = value;
    4949    else if (key == "gsdlhome") gsdlhome = value;
    50     else if (key == "gdbmhome") gdbmhome = value;
     50    else if (key == "gdbmhome") dbhome = value;
    5151  }
    5252
     
    7777  outconvertclass text_t2ascii;
    7878 
    79   if (gdbmhome.empty()) gdbmhome = gsdlhome;
     79  if (dbhome.empty()) dbhome = gsdlhome;
    8080
    8181  if (!sourceclass::init (logout)) return false;
     
    117117    indexstem = collection;
    118118  }
    119   db_filename = filename_cat(gdbmhome, "collect", collection, "index", "text", indexstem);
     119  db_filename = filename_cat(dbhome, "collect", collection, "index", "text", indexstem);
    120120  if (littleEndian()) db_filename += ".ldb";
    121121  else db_filename += ".bdb";
Note: See TracChangeset for help on using the changeset viewer.