diff --git a/html/changeconf.php b/html/changeconf.php index cceb637..1479833 100755 --- a/html/changeconf.php +++ b/html/changeconf.php @@ -33,6 +33,16 @@ if (isset($msg)) { echo " window.location.href = 'index.html';\r\n"; echo "}, 30000);\r\n"; echo "\r\n"; + } elseif ($msg == "clear_caches") { + $end = shell_exec('sudo ./scripts/clear_caches.sh'); + echo "Clear logs and caches.
\r\n"; + echo "Wait!
\r\n"; + echo "\r\n"; } elseif ($msg == "audio") { $selected = $_POST['output']; $hda = $_POST['hda']; diff --git a/html/hconfig.php b/html/hconfig.php index 9fc897d..3aa06b0 100644 --- a/html/hconfig.php +++ b/html/hconfig.php @@ -91,6 +91,9 @@ for ($i = 0; $i < count($remoteconfigs); $i++) { Update to last build from github
+Maintenance
+ +