diff OrthancServer/ServerContext.cpp @ 3535:41365091a41e

display a security warning in the logs at startup when ExecuteLuaEnabled is true
author Alain Mazy <alain@mazy.be>
date Sun, 06 Oct 2019 09:52:57 +0200
parents cac8ffcb9cef
children 94f4a18a79cc
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Fri Oct 04 19:16:12 2019 +0200
+++ b/OrthancServer/ServerContext.cpp	Sun Oct 06 09:52:57 2019 +0200
@@ -240,7 +240,8 @@
     haveJobsChanged_(false),
     isJobsEngineUnserialized_(false),
     metricsRegistry_(new MetricsRegistry),
-    isHttpServerSecure_(true)
+    isHttpServerSecure_(true),
+    isExecuteLuaEnabled_(false)
   {
     {
       OrthancConfiguration::ReaderLock lock;