Ignore:
Timestamp:
2010-09-15T18:49:33+12:00 (14 years ago)
Author:
ak19
Message:

gsdlsite.cfg which gets updated when collectdir is changed may not exist the first time round (like when gs2 is just checked out from svn and you want to change the default collectdir from that of a previous gs2 installation to the new one). But it is the apache web server that needs gsdlsite.cfg (for collecthome), not server.exe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/greenstone/LocalLibraryServer.java

    r22806 r22911  
    729729                    + "cgi-bin" + File.separator + "gsdlsite.cfg";
    730730                Utility.updatePropertyConfigFile(gsdlsitecfg, "collecthome", collectDir); // no file separator at end
     731                    // if gsdlsite.cfg does not exist (if using server.exe for instance), the above method will just return
    731732            }
    732733           
Note: See TracChangeset for help on using the changeset viewer.