diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/Context.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index f1fe443ed..4e6055174 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -94,7 +94,9 @@ public class Context { Log.setupLogger(config); } - dataManager = new DataManager(config); + if (config.hasKey("database.url")) { + dataManager = new DataManager(config); + } identityManager = dataManager; connectionManager = new ConnectionManager(dataManager); |