Revert "Moved the SCGI storage root default into Environment."
[jsvc.git] / src / dolda / jsvc / scgi / DSContext.java
index 350e1c5..c726887 100644 (file)
@@ -37,6 +37,10 @@ public class DSContext extends SimpleContext {
     }
     
     private void loadconfig() {
+       if(env.root != null) {
+           File sroot = new File(new File(env.root, "store"), name());
+           sysconfig.put("jsvc.storage", "file:" + sroot.getPath());
+       }
        sysconfig.putAll(env.sysconfig);
     }