]> www.dolda2000.com Git - jsvc.git/blobdiff - src/dolda/jsvc/store/Store.java
Improved the configuration structure.
[jsvc.git] / src / dolda / jsvc / store / Store.java
index 0664156c369e75376de6038bfae623d066db7147..d32b3a2f0ca4cf95e3bd79b7b9619808bdd67a42 100644 (file)
@@ -24,7 +24,7 @@ public abstract class Store implements Iterable<File> {
        ThreadContext ctx = ThreadContext.current();
        if(ctx == null)
            throw(new RuntimeException("Not running in jsvc context"));
-       String bn = ctx.server().config("jsvc.storage");
+       String bn = ctx.server().sysconfig("jsvc.storage", null);
        if(bn == null)
            throw(new RuntimeException("No storage root has been configured"));
        return(bn);