File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ function GetTemplates() {
144144 "subfolder.conf " => "https://github.com/linuxserver/reverse-proxy-confs/blob/master/ " ,
145145 "dashboard.subdomain.conf " => "https://github.com/linuxserver/docker-mods/blob/swag-dashboard/root/dashboard/ " ,
146146 );
147- $ output = shell_exec ("/etc/cont-init.d/70-templates " );
147+ $ output = shell_exec ("/etc/cont-init.d/85-version-checks " );
148148
149149 foreach (explode (PHP_EOL , $ output ) as $ line ) {
150150 if (substr ($ line , 0 , 1 ) === "* " ){
@@ -153,7 +153,7 @@ function GetTemplates() {
153153 $ tr_class = ($ counter % 2 == 0 ) ? 'shaded ' : '' ;
154154 $ files .= '<tr class=" ' .$ tr_class .'"><td class="left-text"><span class="status-text"> ' .htmlspecialchars ($ line ).'</span></td> ' ;
155155 $ file_name = substr ($ line , strrpos ($ line , '/ ' ) + 1 );
156- $ link = "https://github.com/linuxserver/docker-swag/blob/master/root/defaults/ " .$ file_name ;
156+ $ link = "https://github.com/linuxserver/docker-swag/blob/master/root/defaults/nginx/ " .$ file_name ;
157157 foreach ($ conf_locations as $ key =>$ value ) {
158158 if (strpos ($ file_name , $ key ) !== false ) {
159159 $ link = $ value .$ file_name ;
You can’t perform that action at this time.
0 commit comments