Skip to content

Commit b8c3c0a

Browse files
committed
feat: downgrade page replace key check
1 parent 94caae3 commit b8c3c0a

File tree

1 file changed

+5
-3
lines changed
  • plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager

1 file changed

+5
-3
lines changed

plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Tag="upload"
1616
/**
1717
* @note icon-update is rotated via CSS in myservers1.php
1818
*/
19-
19+
require_once "$docroot/plugins/dynamix/include/ReplaceKey.php";
2020
require_once "$docroot/plugins/dynamix.my.servers/include/reboot-details.php";
21-
// Create an instance of the RebootDetails class
21+
22+
$replaceKey = new ReplaceKey();
23+
$replaceKey->check();
24+
2225
$rebootDetails = new RebootDetails();
23-
// Get the current reboot details if there are any
2426
$rebootDetails->setPrevious();
2527

2628
$serverNameEscaped = htmlspecialchars(str_replace(' ', '_', strtolower($var['NAME'])));

0 commit comments

Comments
 (0)