summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Root.cpp')
-rw-r--r--source/Root.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/Root.cpp b/source/Root.cpp
index 3933535f1..823bd8e13 100644
--- a/source/Root.cpp
+++ b/source/Root.cpp
@@ -135,11 +135,9 @@ void cRoot::Start(void)
{
LOGWARNING("webadmin.ini inaccessible, wabadmin is disabled");
}
-
- if (WebIniFile.GetValueB("WebAdmin", "Enabled", false))
+ else
{
- LOG("Creating WebAdmin...");
- m_WebAdmin = new cWebAdmin(8080);
+ m_WebServer.Initialize(WebIniFile);
}
LOG("Loading settings...");