From 35f9a929f505ced2b0406d86494d94873884a5f8 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 13 Aug 2018 22:35:43 +0100
Subject: [PATCH] Remain on screen when update button is pressed

---
 webadmin/systemmonitor.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webadmin/systemmonitor.php b/webadmin/systemmonitor.php
index e8fff7ba1..2840f7477 100755
--- a/webadmin/systemmonitor.php
+++ b/webadmin/systemmonitor.php
@@ -8,6 +8,7 @@ if (isset($_POST['submitsystemmonitor'])) {
     $system_monitor_file = fopen(".system_monitor.txt", "w") or die("Unable to create setup file");
     fwrite($system_monitor_file, " ");
     fclose($system_monitor_file);
+    $output_filename = "system_monitor.html";
 }
 
 $htmlfile = fopen("$output_filename", "r") or die("Unable to open $output_filename");
-- 
GitLab