tdf#130568 - Add server os pretty name to help->about

Change-Id: Id6de533dfb8e34a05d348f8ae701bf3c524c9b95
This commit is contained in:
gokaysatir
2020-03-30 02:31:23 +03:00
committed by Michael Meeks
parent 3e67e434e4
commit a486bad79b
6 changed files with 79 additions and 1 deletions

View File

@ -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"))