Changeset 27836


Ignore:
Timestamp:
07/13/13 01:00:39 (8 years ago)
Author:
davidb
Message:

Change to help Server3 find global.properties when runnign in read-only mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/server/Server3.java

    r27827 r27836  
    6262    public void reload()
    6363    {
    64         GlobalProperties.loadGlobalProperties(fallbackGSDL3Home()); // properties file may have changed, so reload it
     64            String gsdl3_writablehome = System.getProperty("gsdl3.writablehome",fallbackGSDL3Home());
     65
     66        GlobalProperties.loadGlobalProperties(gsdl3_writablehome); // properties file may have changed, so reload it
    6567    }
    6668
Note: See TracChangeset for help on using the changeset viewer.