diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/webbox/webbox.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp index 53322b5..7de431a 100644 --- a/plugins/webbox/webbox.cpp +++ b/plugins/webbox/webbox.cpp @@ -29,7 +29,6 @@ namespace pt = boost::property_tree;  namespace { - static const std::string PROGRAMVERSION{"Webbox 2.0"};   static const std::string DOWNLOAD_FILENAME{"webbox-download.zip"};   // STATIC_HTML_TARGET: no leading slash because comparision is done with relative path; @@ -391,7 +390,7 @@ protected:   virtual std::string start(CommandParameters& p)   {    p.m_SetResponseHeader("content_type", "text/plain"); -  return PROGRAMVERSION + "<br/>(C) 2020 <a href=\"https://www.reichwein.it/\">Reichwein.IT</a>"; +  return p.m_GetServerParam("version") + "<br/>(C) 2020 <a href=\"https://www.reichwein.it/\">Reichwein.IT</a>";   }  };  | 
