From 292235b5c5ae25139d5945c2a298e13272a4f29b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 30 Apr 2020 12:25:29 +0200 Subject: Uptime in stats --- plugins/statistics/statistics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/statistics/statistics.cpp b/plugins/statistics/statistics.cpp index 03f4c94..543cc4e 100644 --- a/plugins/statistics/statistics.cpp +++ b/plugins/statistics/statistics.cpp @@ -81,6 +81,8 @@ std::string statistics_plugin::generate_page( std::string result{header}; result += "

Webserver Statistics

"; + result += "

Host uptime: "s + GetServerParam("uptime_host") + "

"; + result += "

Host webserver: "s + GetServerParam("uptime_webserver") + "

"; result += "
"s + GetServerParam("statistics") + "
"s; result += footer; -- cgit v1.2.3