X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fexecquerypage.h;h=caedd08aee776d7c184f7e3b3dc9a5099cc63af0;hb=221236a4d3aac4144529d418ce368db5c98facb0;hp=4679ec2b53f10570b32f3bdd963ee0a869debda3;hpb=52c0819bfc1d083c6e0738f75f0d7eeba521295a;p=fms.git diff --git a/include/http/pages/execquerypage.h b/include/http/pages/execquerypage.h index 4679ec2..caedd08 100644 --- a/include/http/pages/execquerypage.h +++ b/include/http/pages/execquerypage.h @@ -7,7 +7,9 @@ class ExecQueryPage:public IPageHandler,public IDatabase { public: - ExecQueryPage(const std::string &templatestr):IPageHandler(templatestr) {} + ExecQueryPage(const std::string &templatestr):IPageHandler(templatestr,"execquery.htm") {} + + IPageHandler *New() { return new ExecQueryPage(m_template); } private: const bool WillHandleURI(const std::string &uri);