Merge pull request #2036 from Mainfrezzer/Mainfrezzer-patch-1

Avoid automatic shutdown while being logged in and visiting Boot.php
This commit is contained in:
tom mortensen
2025-03-04 21:14:23 -08:00
committed by GitHub

View File

@@ -157,6 +157,9 @@ $(document).ajaxSend(function(elm, xhr, s){
</script>
</head>
<?
if ($_SERVER['REQUEST_METHOD'] === 'POST'){
$safemode = '/boot/unraidsafemode';
$progress = (_var($var,'fsProgress')!='') ? "<br><span class='blue'>{$var['fsProgress']}</span>" : "<br>&nbsp;";
@@ -187,5 +190,10 @@ default:
echo '</div>';
echo '<div class="sub2"></div>';
echo '</body>';
}else{
?>
echo <body onload="location='/Main'"></body>
<?
}
?>
</html>