version 0.3.29
[fms.git] / include / http / pages / showcaptchapage.h
index 739e412..58af3f0 100644 (file)
@@ -4,13 +4,14 @@
 #include "../ipagehandler.h"\r
 #include "../../idatabase.h"\r
 \r
-class ShowCaptchaPage:public IPageHandler,public IDatabase\r
+class ShowCaptchaPage:public IPageHandler\r
 {\r
 public:\r
+       ShowCaptchaPage(SQLite3DB::DB *db):IPageHandler(db)                             {}\r
 \r
        void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response);\r
 \r
-       IPageHandler *New()     { return new ShowCaptchaPage; }\r
+       IPageHandler *New()     { return new ShowCaptchaPage(m_db); }\r
 \r
 private:\r
        const bool WillHandleURI(const std::string &uri);\r