X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fhttp%2Fpages%2Fcontrolboardpage.h;h=0f8fcdeb4ed15fd7519aa8f218b73bc4e977e830;hb=221236a4d3aac4144529d418ce368db5c98facb0;hp=6471ada3f4d0cfbb20f405af53be49bb906f8ecb;hpb=b9c3763a932cebaa015a27fe111017f6f34dfbaa;p=fms.git diff --git a/include/http/pages/controlboardpage.h b/include/http/pages/controlboardpage.h index 6471ada..0f8fcde 100644 --- a/include/http/pages/controlboardpage.h +++ b/include/http/pages/controlboardpage.h @@ -7,7 +7,9 @@ class ControlBoardPage:public IPageHandler,public IDatabase { public: - ControlBoardPage(const std::string &templatestr):IPageHandler(templatestr) {} + ControlBoardPage(const std::string &templatestr):IPageHandler(templatestr,"controlboard.htm") {} + + IPageHandler *New() { return new ControlBoardPage(m_template); } private: const bool WillHandleURI(const std::string &uri);