From f8b1f407f79b68995f84bbbdc68ad43b689c65f8 Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 8 Nov 2019 08:20:47 +0000 Subject: [PATCH] Added option to disable system tab. Thanks @sedgett --- config/config.php | 1 + includes/defaults.php | 1 + index.php | 6 ++++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/config.php b/config/config.php index 1522e850..ade94b4e 100755 --- a/config/config.php +++ b/config/config.php @@ -30,6 +30,7 @@ define('RASPI_TORPROXY_ENABLED', false); define('RASPI_CONFAUTH_ENABLED', true); define('RASPI_CHANGETHEME_ENABLED', true); define('RASPI_VNSTAT_ENABLED', true); +define('RASPI_SYSTEM_ENABLED', true); define('RASPI_MONITOR_ENABLED', false); // Locale settings diff --git a/includes/defaults.php b/includes/defaults.php index b3956bf6..300e3e07 100755 --- a/includes/defaults.php +++ b/includes/defaults.php @@ -34,6 +34,7 @@ $defaults = [ 'RASPI_CONFAUTH_ENABLED' => true, 'RASPI_CHANGETHEME_ENABLED' => true, 'RASPI_VNSTAT_ENABLED' => true, + 'RASPI_SYSTEM_ENABLED' => true, 'RASPI_MONITOR_ENABLED' => false, // Locale settings diff --git a/index.php b/index.php index 15a267ad..9bf0ea0c 100755 --- a/index.php +++ b/index.php @@ -161,9 +161,11 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) { - + +