comparison OrthancServer/main.cpp @ 695:c59bc408fb10

parameter to disable the computation of the MD5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2014 13:58:00 +0100
parents 2e67366aab83
children ef4569ae7952
comparison
equal deleted inserted replaced
694:72dc919a028c 695:c59bc408fb10
331 331
332 LOG(WARNING) << "Storage directory: " << storageDirectory; 332 LOG(WARNING) << "Storage directory: " << storageDirectory;
333 LOG(WARNING) << "Index directory: " << indexDirectory; 333 LOG(WARNING) << "Index directory: " << indexDirectory;
334 334
335 context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false)); 335 context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false));
336 context.SetStoreMD5ForAttachments(GetGlobalBoolParameter("StoreMD5ForAttachments", true));
336 337
337 std::list<std::string> luaScripts; 338 std::list<std::string> luaScripts;
338 GetGlobalListOfStringsParameter(luaScripts, "LuaScripts"); 339 GetGlobalListOfStringsParameter(luaScripts, "LuaScripts");
339 for (std::list<std::string>::const_iterator 340 for (std::list<std::string>::const_iterator
340 it = luaScripts.begin(); it != luaScripts.end(); ++it) 341 it = luaScripts.begin(); it != luaScripts.end(); ++it)