X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fhttp%2Fhttpthread.cpp;h=a58044c429a43b834e58bbe91d54382c08eada9d;hb=ee580d19b7920904587e18d72a3465d52eab6204;hp=5bb998846928a1915d2ad61cf92a33a282777818;hpb=df316253862dc50e8e5a790d9634ef90be37badb;p=fms.git diff --git a/src/http/httpthread.cpp b/src/http/httpthread.cpp index 5bb9988..a58044c 100644 --- a/src/http/httpthread.cpp +++ b/src/http/httpthread.cpp @@ -12,6 +12,8 @@ #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 "../../include/http/pages/boardspage.h" #include @@ -28,7 +30,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 +58,8 @@ 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)); + m_pagehandlers.push_back(new BoardsPage(templatestr)); // homepage must be last - catch all page handler m_pagehandlers.push_back(new HomePage(templatestr));