From dfad8c927905ff5ec41818066a3a768a19fb4069 Mon Sep 17 00:00:00 2001 From: quietsy Date: Sat, 24 Sep 2022 09:01:06 +0300 Subject: [PATCH 1/2] Fix version checks --- root/dashboard/www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index d596cb4..90629b5 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -144,7 +144,7 @@ "subfolder.conf" => "https://github.com/linuxserver/reverse-proxy-confs/blob/master/", "dashboard.subdomain.conf" => "https://github.com/linuxserver/docker-mods/blob/swag-dashboard/root/dashboard/", ); - $output = shell_exec("/etc/cont-init.d/70-templates"); + $output = shell_exec("/etc/cont-init.d/85-version-checks"); foreach(explode(PHP_EOL, $output) as $line) { if(substr($line, 0, 1) === "*"){ From 35f97ec76d5c08591b8a1e90454724131ab40c7c Mon Sep 17 00:00:00 2001 From: quietsy Date: Sat, 24 Sep 2022 09:31:53 +0300 Subject: [PATCH 2/2] Fix the links --- root/dashboard/www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index 90629b5..456ccf0 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -153,7 +153,7 @@ $tr_class = ($counter % 2 == 0) ? 'shaded' : ''; $files .= ''.htmlspecialchars($line).''; $file_name = substr($line, strrpos($line, '/') + 1); - $link = "https://github.com/linuxserver/docker-swag/blob/master/root/defaults/".$file_name; + $link = "https://github.com/linuxserver/docker-swag/blob/master/root/defaults/nginx/".$file_name; foreach($conf_locations as $key=>$value) { if (strpos($file_name, $key) !== false) { $link = $value.$file_name;