Mercurial > hg > orthanc
comparison OrthancServer/Sources/main.cpp @ 5457:312e866e2550
clarified startup message
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 08 Dec 2023 10:15:09 +0100 |
parents | 9ffd6d18daf3 |
children | 46ed738c3e5d 48b8dae6dc77 |
comparison
equal
deleted
inserted
replaced
5453:b750777c36a2 | 5457:312e866e2550 |
---|---|
1180 << "Your setup is POSSIBLY INSECURE <===="; | 1180 << "Your setup is POSSIBLY INSECURE <===="; |
1181 } | 1181 } |
1182 else | 1182 else |
1183 { | 1183 { |
1184 context.SetRestApiWriteToFileSystemEnabled(false); | 1184 context.SetRestApiWriteToFileSystemEnabled(false); |
1185 LOG(WARNING) << "REST API cannot write to the file system."; | 1185 LOG(WARNING) << "REST API cannot write to the file system bacause the \"RestApiWriteToFileSystemEnabled\" configuration is set to false. The URI /instances/../export is disabled. This is the most secure configuration."; |
1186 } | 1186 } |
1187 | 1187 |
1188 if (lock.GetConfiguration().GetBooleanParameter("WebDavEnabled", true)) | 1188 if (lock.GetConfiguration().GetBooleanParameter("WebDavEnabled", true)) |
1189 { | 1189 { |
1190 const bool allowDelete = lock.GetConfiguration().GetBooleanParameter("WebDavDeleteAllowed", false); | 1190 const bool allowDelete = lock.GetConfiguration().GetBooleanParameter("WebDavDeleteAllowed", false); |