diff options
author | gokaysatir <gokaysatir@gmail.com> | 2020-03-30 02:31:23 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-04-01 20:45:32 +0100 |
commit | a486bad79be3838d115e09ccbb55ec47ea36274a (patch) | |
tree | 462da1ff51b9c30b3b89e3a305d576cb5873235c /wsd/FileServer.cpp | |
parent | Avoid de-referencing non-existing marker. (diff) | |
download | online-a486bad79be3838d115e09ccbb55ec47ea36274a.tar.gz online-a486bad79be3838d115e09ccbb55ec47ea36274a.zip |
tdf#130568 - Add server os pretty name to help->about
Change-Id: Id6de533dfb8e34a05d348f8ae701bf3c524c9b95
Diffstat (limited to 'wsd/FileServer.cpp')
-rw-r--r-- | wsd/FileServer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp index ce9e127560..9d833c5108 100644 --- a/wsd/FileServer.cpp +++ b/wsd/FileServer.cpp @@ -649,6 +649,7 @@ void FileServerRequestHandler::preprocessFile(const HTTPRequest& request, Poco:: Poco::replaceInPlace(preprocess, std::string("%HOST%"), host); Poco::replaceInPlace(preprocess, std::string("%VERSION%"), std::string(LOOLWSD_VERSION_HASH)); Poco::replaceInPlace(preprocess, std::string("%SERVICE_ROOT%"), LOOLWSD::ServiceRoot); + Poco::replaceInPlace(preprocess, std::string("%OS_INFO%"), LOOLWSD::OSInfo); std::string protocolDebug = "false"; if (config.getBool("logging.protocol")) |