mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-02-05 04:59:42 +08:00
commit
6e6ddfb166
@ -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) === "*"){
|
||||
@ -153,7 +153,7 @@
|
||||
$tr_class = ($counter % 2 == 0) ? 'shaded' : '';
|
||||
$files .= '<tr class="'.$tr_class.'"><td class="left-text"><span class="status-text">'.htmlspecialchars($line).'</span></td>';
|
||||
$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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user