diff options
author | Mattes D <github@xoft.cz> | 2015-09-25 13:12:55 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-09-25 13:12:55 +0200 |
commit | 7f618199710a4159973d34b7b872fe9d8b7010b6 (patch) | |
tree | 110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/WebAdmin.cpp | |
parent | Merge pull request #2478 from cuberite/FixArmBuild (diff) | |
parent | Namechange to Cuberite (diff) | |
download | cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.gz cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.bz2 cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.lz cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.xz cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.zst cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp index 91fad96c6..27294f19b 100644 --- a/src/WebAdmin.cpp +++ b/src/WebAdmin.cpp @@ -96,7 +96,7 @@ bool cWebAdmin::Init(void) if (!m_IniFile.ReadFile("webadmin.ini")) { LOGWARN("Regenerating webadmin.ini, all settings will be reset"); - m_IniFile.AddHeaderComment(" This file controls the webadmin feature of MCServer"); + m_IniFile.AddHeaderComment(" This file controls the webadmin feature of Cuberite"); m_IniFile.AddHeaderComment(" Username format: [User:*username*]"); m_IniFile.AddHeaderComment(" Password format: Password=*password*; for example:"); m_IniFile.AddHeaderComment(" [User:admin]"); @@ -131,7 +131,7 @@ bool cWebAdmin::Init(void) // Sets the fallback template: m_LoginTemplate = \ - "<h1>MCServer WebAdmin</h1>" \ + "<h1>Cuberite WebAdmin</h1>" \ "<center>" \ "<form method='get' action='webadmin/'>" \ "<input type='submit' value='Log in'>" \ @@ -216,7 +216,7 @@ void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPReque { if (!a_Request.HasAuth()) { - a_Connection.SendNeedAuth("MCServer WebAdmin"); + a_Connection.SendNeedAuth("Cuberite WebAdmin"); return; } @@ -224,7 +224,7 @@ void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPReque AString UserPassword = m_IniFile.GetValue("User:" + a_Request.GetAuthUsername(), "Password", ""); if ((UserPassword == "") || (a_Request.GetAuthPassword() != UserPassword)) { - a_Connection.SendNeedAuth("MCServer WebAdmin - bad username or password"); + a_Connection.SendNeedAuth("Cuberite WebAdmin - bad username or password"); return; } @@ -333,7 +333,7 @@ void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPReque ReplaceString(Template, "{MENU}", Menu); ReplaceString(Template, "{PLUGIN_NAME}", FoundPlugin); ReplaceString(Template, "{CONTENT}", Content); - ReplaceString(Template, "{TITLE}", "MCServer"); + ReplaceString(Template, "{TITLE}", "Cuberite"); AString NumChunks; Printf(NumChunks, "%d", cRoot::Get()->GetTotalChunkCount()); |