Rename file to "dashboard_settings.json"

This commit is contained in:
bergware
2025-02-04 10:02:46 +01:00
parent 125092fb8c
commit cc7703f0c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ exec("/etc/rc.d/rc.libvirt status >/dev/null",$dummy,$libvirtd);
$dockerd = $dockerd==0;
$libvirtd = $libvirtd==0;
$apcupsd = file_exists('/var/run/apcupsd.pid');
$cookie = '/boot/config/cookie.json';
$cookie = '/boot/config/dashboard_settings.json';
$conf = glob('/etc/wireguard/wg*.conf');
$wireguard = is_executable('/usr/bin/wg') && count($conf);
$started = _var($var,'fsState')=='Started';
@@ -14,7 +14,7 @@
$docroot ??= ($_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp');
$charts = '/var/tmp/charts_data.tmp';
$cookie = '/boot/config/cookie.json';
$cookie = '/boot/config/dashboard_settings.json';
switch ($_POST['cmd']) {
case 'get':