Mercurial > hg > orthanc
comparison OrthancServer/Sources/main.cpp @ 4649:e915102093de
New CMake option: "ORTHANC_LUA_VERSION" to use a specific version of system-wide Lua
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Apr 2021 10:09:50 +0200 |
parents | 4beebbb3636e |
children | 82a314325351 |
comparison
equal
deleted
inserted
replaced
4648:56315be75a92 | 4649:e915102093de |
---|---|
1107 else | 1107 else |
1108 { | 1108 { |
1109 httpServer.SetSslVerifyPeers(false); | 1109 httpServer.SetSslVerifyPeers(false); |
1110 } | 1110 } |
1111 | 1111 |
1112 LOG(INFO) << "Version of Lua: " << LUA_VERSION; | |
1113 | |
1112 if (lock.GetConfiguration().GetBooleanParameter("ExecuteLuaEnabled", false)) | 1114 if (lock.GetConfiguration().GetBooleanParameter("ExecuteLuaEnabled", false)) |
1113 { | 1115 { |
1114 context.SetExecuteLuaEnabled(true); | 1116 context.SetExecuteLuaEnabled(true); |
1115 LOG(WARNING) << "====> Remote LUA script execution is enabled. Review your configuration option \"ExecuteLuaEnabled\". " | 1117 LOG(WARNING) << "====> Remote LUA script execution is enabled. Review your configuration option \"ExecuteLuaEnabled\". " |
1116 << "Your setup is POSSIBLY INSECURE <===="; | 1118 << "Your setup is POSSIBLY INSECURE <===="; |