X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fforummainpage.h;fp=include%2Fhttp%2Fpages%2Fforummainpage.h;h=1c28b6d50a3b6c836f4d6cab62a7b4ed59ce10a8;hp=63af3c510be7e235a566fe283639e89b11adf93a;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/forummainpage.h b/include/http/pages/forummainpage.h index 63af3c5..1c28b6d 100644 --- a/include/http/pages/forummainpage.h +++ b/include/http/pages/forummainpage.h @@ -6,9 +6,9 @@ class ForumMainPage:public ForumPage { public: - ForumMainPage(const std::string &templatestr):ForumPage(templatestr,"forummain.htm") {} + ForumMainPage(SQLite3DB::DB *db,const std::string &templatestr):ForumPage(db,templatestr,"forummain.htm") {} - IPageHandler *New() { return new ForumMainPage(m_template); } + IPageHandler *New() { return new ForumMainPage(m_db,m_template); } private: const std::string GeneratePage(const std::string &method, const std::map &queryvars);