Mercurial > hg > orthanc
diff PalantirServer/main.cpp @ 19:e85455ff6039
standalon
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 10:17:12 +0200 |
parents | c38716a8a146 |
children | 62bd05fe4b7c |
line wrap: on
line diff
--- a/PalantirServer/main.cpp Tue Jul 24 10:03:17 2012 +0200 +++ b/PalantirServer/main.cpp Tue Jul 24 10:17:12 2012 +0200 @@ -107,7 +107,7 @@ try { - std::string storageDirectory = GetGlobalStringParameter("StorageDirectory", "PalantirStorage"); + std::string storageDirectory = GetGlobalStringParameter("StorageDirectory", "PalantirStorage"); ServerIndex index(storageDirectory); MyDicomStoreFactory storeScp(index, storageDirectory); @@ -123,7 +123,7 @@ MongooseServer httpServer; httpServer.SetPort(GetGlobalIntegerParameter("HttpPort", 8000)); -#if PALANTIR_RELEASE == 1 +#if PALANTIR_STANDALONE == 1 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::PALANTIR_EXPLORER)); #else httpServer.RegisterHandler(new FilesystemHttpHandler("/app", PALANTIR_PATH "/PalantirExplorer"));