From c33e4068acb2f598445e1a3a7a44d3ace8810d40 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Thu, 30 Aug 2018 18:45:21 +0100
Subject: [PATCH] Don't need admin subdirectory

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

diff --git a/webadmin/systemmonitor.php b/webadmin/systemmonitor.php
index a65c9e6eb..8273de224 100755
--- a/webadmin/systemmonitor.php
+++ b/webadmin/systemmonitor.php
@@ -12,7 +12,7 @@ if (isset($_POST['submitsystemmonitor'])) {
     # remain on this screen after clicking update
     $host  = $_SERVER['HTTP_HOST'];
     $uri   = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
-    header("Location: http://$host$uri/admin/system_monitor.html");
+    header("Location: http://$host$uri/system_monitor.html");
 
     sleep(3);
 
-- 
GitLab