aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-05 17:02:22 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-05 17:02:22 +1200
commit35ae7fbd26180fa56072095ef47d6c54a4e22393 (patch)
tree2ee76cc064804d0d09fe65931d9873dd907fdf24 /src/org/traccar/Context.java
parent96a8551d16506809887cb28d0c61c1ab5cb0ce3c (diff)
downloadtrackermap-server-35ae7fbd26180fa56072095ef47d6c54a4e22393.tar.gz
trackermap-server-35ae7fbd26180fa56072095ef47d6c54a4e22393.tar.bz2
trackermap-server-35ae7fbd26180fa56072095ef47d6c54a4e22393.zip
Re-factor config params
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index dcab28a9c..16ff33f18 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -91,7 +91,7 @@ public class Context {
dataManager = new DataManager(properties);
dataCache = new DataCache(dataManager);
- if (Boolean.valueOf(properties.getProperty("http.new"))) {
+ if (Boolean.valueOf(properties.getProperty("web.new"))) {
permissionsManager = new PermissionsManager();
}
@@ -106,7 +106,7 @@ public class Context {
}
}
- if (Boolean.valueOf(properties.getProperty("http.enable"))) {
+ if (Boolean.valueOf(properties.getProperty("web.enable"))) {
webServer = new WebServer();
}