X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fhttpthread.cpp;h=6ad6ef91ce845bf0797580aa01d32580b5be7099;hp=5bb998846928a1915d2ad61cf92a33a282777818;hb=52c0819bfc1d083c6e0738f75f0d7eeba521295a;hpb=df316253862dc50e8e5a790d9634ef90be37badb diff --git a/src/http/httpthread.cpp b/src/http/httpthread.cpp index 5bb9988..6ad6ef9 100644 --- a/src/http/httpthread.cpp +++ b/src/http/httpthread.cpp @@ -12,6 +12,7 @@ #include "../../include/http/pages/controlboardpage.h" #include "../../include/http/pages/peerdetailspage.h" #include "../../include/http/pages/peermaintenancepage.h" +#include "../../include/http/pages/execquerypage.h" #include @@ -28,7 +29,7 @@ HTTPThread::HTTPThread() StringFunctions::Convert(portstr,port); // set template - templatestr="Home
[CONTENT]"; + templatestr="Home

Could not find template.htm! Place in program directory and restart!


[CONTENT]"; FILE *infile=fopen("template.htm","r+b"); if(infile) { @@ -56,6 +57,7 @@ HTTPThread::HTTPThread() m_pagehandlers.push_back(new ControlBoardPage(templatestr)); m_pagehandlers.push_back(new PeerDetailsPage(templatestr)); m_pagehandlers.push_back(new PeerMaintenancePage(templatestr)); + m_pagehandlers.push_back(new ExecQueryPage(templatestr)); // homepage must be last - catch all page handler m_pagehandlers.push_back(new HomePage(templatestr));