From 634d01ac6993a63f31eadb26ac49128ae01f9860 Mon Sep 17 00:00:00 2001 From: Dmytro Ivanov Date: Wed, 2 Oct 2024 15:07:03 +0200 Subject: Add plugin name command line parameter Make it possible to load commandline provided plugins --- src/zenhttp/httpserver.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/zenhttp/httpserver.cpp') diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp index a0d4ef3f3..8e12f3ec7 100644 --- a/src/zenhttp/httpserver.cpp +++ b/src/zenhttp/httpserver.cpp @@ -843,6 +843,10 @@ CreateHttpServerClass(HttpServerClass Class, const HttpServerConfig& Config) Server->AddPlugin(DllPlugin); # endif +# if 1 + DllPlugin->LoadDll(Config.PluginName); +#endif + return Server; } #endif -- cgit v1.2.3