Mercurial > hg > orthanc
diff Core/HttpServer/FilesystemHttpHandler.cpp @ 2140:aa4b8895cd23
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 16:12:47 +0100 |
parents | 7a05144cb919 |
children | fd5875662670 |
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.cpp Wed Nov 09 15:25:09 2016 +0100 +++ b/Core/HttpServer/FilesystemHttpHandler.cpp Wed Nov 09 16:12:47 2016 +0100 @@ -95,7 +95,7 @@ #endif std::string h = Toolbox::FlattenUri(uri) + "/" + f; - if (Toolbox::IsRegularFile(it->path().string())) + if (SystemToolbox::IsRegularFile(it->path().string())) { s += "<li><a href=\"" + h + "\">" + f + "</a></li>"; } @@ -158,7 +158,7 @@ p /= uri[i]; } - if (Toolbox::IsRegularFile(p.string())) + if (SystemToolbox::IsRegularFile(p.string())) { FilesystemHttpSender sender(p); output.Answer(sender); // TODO COMPRESSION