Enabled saving of config files.

This commit is contained in:
dev
2011-07-05 14:10:19 +00:00
parent 24f8197964
commit dd5481f216
4 changed files with 17 additions and 9 deletions

View File

@ -40,9 +40,9 @@ public class JSONInterface {
public static void setupSession() {
URL srvURL = null;
String srvHost = _conf.getConf("server-hostname", "localhost");
int srvPort = _conf.getConf("server-port", 7656);
String srvTarget = _conf.getConf("server-target", "jsonrpc");
String srvHost = _conf.getConf("server.hostname", "localhost");
int srvPort = _conf.getConf("server.port", 7656);
String srvTarget = _conf.getConf("server.target", "jsonrpc");
try {
srvURL = new URL("https://" + srvHost + ":" + srvPort + "/"
+ srvTarget);