summaryrefslogtreecommitdiffhomepage
path: root/plugins/statistics/statistics.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-30 12:25:29 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-30 12:25:29 +0200
commit292235b5c5ae25139d5945c2a298e13272a4f29b (patch)
tree40aeaa4fd3217e900787c9bd861aaf0f2f0d9319 /plugins/statistics/statistics.cpp
parent851f4d84d4b8dcff032f5304235917bc58e1e46e (diff)
Uptime in stats
Diffstat (limited to 'plugins/statistics/statistics.cpp')
-rw-r--r--plugins/statistics/statistics.cpp2
1 files changed, 2 insertions, 0 deletions
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 += "<h1>Webserver Statistics</h1>";
+ result += "<p>Host uptime: "s + GetServerParam("uptime_host") + "</p>";
+ result += "<p>Host webserver: "s + GetServerParam("uptime_webserver") + "</p>";
result += "<pre>"s + GetServerParam("statistics") + "</pre>"s;
result += footer;