Changeset 27836

Show
Ignore:
Timestamp:
13.07.2013 01:00:39 (6 years ago)
Author:
davidb
Message:

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

Files:
1 modified

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