diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-08-13 12:56:47 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-08-13 12:56:47 +0200 |
commit | 60ea4bb937ba56c6dcaf57dda377beed972cf0a5 (patch) | |
tree | 2b85870811868d8d96240240aec933b7b0d5b507 /src/WebAdmin.cpp | |
parent | Merge pull request #1296 from mc-server/LuaAPI (diff) | |
download | cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar.gz cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar.bz2 cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar.lz cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar.xz cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.tar.zst cuberite-60ea4bb937ba56c6dcaf57dda377beed972cf0a5.zip |
Diffstat (limited to 'src/WebAdmin.cpp')
-rw-r--r-- | src/WebAdmin.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp index ab6925e55..6882d7bc4 100644 --- a/src/WebAdmin.cpp +++ b/src/WebAdmin.cpp @@ -159,28 +159,6 @@ void cWebAdmin::Stop(void) -AString cWebAdmin::GetTemplate() -{ - AString retVal = ""; - - char SourceFile[] = "webadmin/template.html"; - - cFile f; - if (!f.Open(SourceFile, cFile::fmRead)) - { - return ""; - } - - // copy the file into the buffer: - f.ReadRestOfFile(retVal); - - return retVal; -} - - - - - void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPRequest & a_Request) { if (!a_Request.HasAuth()) |