aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorDmytro Ivanov <[email protected]>2024-10-02 15:07:03 +0200
committerDmytro Ivanov <[email protected]>2024-10-02 15:46:41 +0200
commit634d01ac6993a63f31eadb26ac49128ae01f9860 (patch)
treebd406b0957d3910d42f14f5ce3febcd68d192466 /src/zenhttp/httpserver.cpp
parentadd cmake build config to be able to use clion (diff)
downloadzen-di/plugin-name-wip.tar.xz
zen-di/plugin-name-wip.zip
Add plugin name command line parameterdi/plugin-name-wip
Make it possible to load commandline provided plugins
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp4
1 files changed, 4 insertions, 0 deletions
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