diff options
author | madmaxoft <github@xoft.cz> | 2013-10-05 23:08:16 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-05 23:08:16 +0200 |
commit | b5c90d7b20fede4e643e96417684c7c009d063cb (patch) | |
tree | 16729dacd792717ae4818dbe019b0fd02c58048a /source/Root.cpp | |
parent | Fixed Base64Decode() returning wrong value. (diff) | |
download | cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.gz cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.bz2 cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.lz cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.xz cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.zst cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.zip |
Diffstat (limited to 'source/Root.cpp')
-rw-r--r-- | source/Root.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/source/Root.cpp b/source/Root.cpp index 821dd0928..57e5dfcc4 100644 --- a/source/Root.cpp +++ b/source/Root.cpp @@ -130,15 +130,9 @@ void cRoot::Start(void) } IniFile.WriteFile(); - cIniFile WebIniFile("webadmin.ini"); - if (!WebIniFile.ReadFile()) - { - LOGWARNING("webadmin.ini inaccessible, wabadmin is disabled"); - } - else - { - m_HTTPServer.Initialize(WebIniFile); - } + LOG("Initialising WebAdmin..."); + m_WebAdmin = new cWebAdmin(); + m_WebAdmin->Init(); LOG("Loading settings..."); m_GroupManager = new cGroupManager(); @@ -167,6 +161,9 @@ void cRoot::Start(void) LOG("Starting server..."); m_Server->Start(); + + LOG("Starting WebAdmin..."); + m_WebAdmin->Start(); #if !defined(ANDROID_NDK) LOG("Starting InputThread..."); |