Ignore:
Timestamp:
2011-05-13T20:59:44+12:00 (13 years ago)
Author:
ak19
Message:

Dr Bainbridge fixed the bug on Windows whereby the Admin pages when accessed through the local library server/server.exe would not authenticate (but the authentication would work if the apache web server was run instead).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/w32server/cgiwrapper.cpp

    r22948 r24017  
    370370htmlbrowserclass *ahtmlbrowserclass = NULL;
    371371phindbrowserclass *aphindbrowserclass = NULL;
    372 text_t userdbfile = NULL;
    373372userdbclass *udb = NULL;
    374 text_t keydbfile = NULL;
    375373keydbclass *kdb = NULL;
    376374
     
    554552 
    555553  if ((ausersaction == NULL) && (aauthenaction == NULL)){
    556     userdbfile = filename_cat(gsdl_gsdlhome, "etc", "users.gdb");
    557     udb = new userdbclass(userdbfile);
    558     keydbfile = filename_cat(gsdl_gsdlhome, "etc", "key.gdb");
    559     kdb = new keydbclass(keydbfile);
     554    udb = new userdbclass(gsdl_gsdlhome);
     555    kdb = new keydbclass(gsdl_gsdlhome);
    560556  }
    561557  // add the protocol to the receptionist
Note: See TracChangeset for help on using the changeset viewer.