diff options
author | madmaxoft <github@xoft.cz> | 2014-03-12 13:05:28 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-12 13:05:28 +0100 |
commit | 0c15fdf7b05ee6ad0705b2a789f6b709bbde2733 (patch) | |
tree | 69db118c8a6f19f443400fe8cf4e98d1f95428f7 /src/WebAdmin.cpp | |
parent | Merge remote-tracking branch 'origin/SnowBall' (diff) | |
download | cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.gz cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.bz2 cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.lz cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.xz cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.zst cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.zip |
Diffstat (limited to 'src/WebAdmin.cpp')
-rw-r--r-- | src/WebAdmin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp index e88de5947..402cd3035 100644 --- a/src/WebAdmin.cpp +++ b/src/WebAdmin.cpp @@ -127,6 +127,7 @@ bool cWebAdmin::Start(void) // Initialize the WebAdmin template script and load the file m_TemplateScript.Create(); + m_TemplateScript.RegisterAPILibs(); if (!m_TemplateScript.LoadFile(FILE_IO_PREFIX "webadmin/template.lua")) { LOGWARN("Could not load WebAdmin template \"%s\", using default template.", FILE_IO_PREFIX "webadmin/template.lua"); |