1
0
mirror of https://github.com/anope/anope.git synced 2026-06-23 04:16:38 +02:00
Files
anope/modules/webcpanel/static_fileserver.h
T
Robby c8699c6726 Update copyright to 2020.
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00

19 lines
512 B
C++

/*
* (C) 2003-2020 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*/
#include "modules/httpd.h"
/* A basic file server. Used for serving static content on disk. */
class StaticFileServer : public HTTPPage
{
Anope::string file_name;
public:
StaticFileServer(const Anope::string &f_n, const Anope::string &u, const Anope::string &c_t);
bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override;
};