Removed unused method
This commit is contained in:
parent
8f0c4911f7
commit
60ea4bb937
@ -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)
|
void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPRequest & a_Request)
|
||||||
{
|
{
|
||||||
if (!a_Request.HasAuth())
|
if (!a_Request.HasAuth())
|
||||||
|
@ -208,9 +208,6 @@ protected:
|
|||||||
/** The HTTP server which provides the underlying HTTP parsing, serialization and events */
|
/** The HTTP server which provides the underlying HTTP parsing, serialization and events */
|
||||||
cHTTPServer m_HTTPServer;
|
cHTTPServer m_HTTPServer;
|
||||||
|
|
||||||
|
|
||||||
AString GetTemplate(void);
|
|
||||||
|
|
||||||
/** Handles requests coming to the "/webadmin" or "/~webadmin" URLs */
|
/** Handles requests coming to the "/webadmin" or "/~webadmin" URLs */
|
||||||
void HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPRequest & a_Request);
|
void HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPRequest & a_Request);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user