aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorVitaly Litvak <vitavaque@gmail.com>2015-09-06 11:39:39 +0300
committerVitaly Litvak <vitavaque@gmail.com>2015-09-06 11:39:39 +0300
commit466364542c61e103d0e9d38aca70e729e688be35 (patch)
tree29166801123bba650c140bcf40842591d51466db /src/org/traccar/Context.java
parentc7d05ca6969e7fd00f7000b47efe3865ff0d2cc2 (diff)
downloadtrackermap-server-466364542c61e103d0e9d38aca70e729e688be35.tar.gz
trackermap-server-466364542c61e103d0e9d38aca70e729e688be35.tar.bz2
trackermap-server-466364542c61e103d0e9d38aca70e729e688be35.zip
For #1395 - updated 'web.type' values to lower case
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 86174d30f..80c9efb40 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -125,7 +125,7 @@ public class Context {
}
if (config.getBoolean("web.enable")) {
- if (config.getString("web.type", "NEW").equals("NEW") || config.getString("web.type", "NEW").equals("API")) {
+ if (config.getString("web.type", "new").equals("new") || config.getString("web.type", "new").equals("api")) {
permissionsManager = new PermissionsManager(dataManager);
}
webServer = new WebServer(config, dataManager.getDataSource());