feat: integrate ReplaceKey functionality in Registration and Update pages

- Added `ReplaceKey` class inclusion and instantiation in `Registration.page` and `Update.page`.
- Implemented a call to the `check()` method of `ReplaceKey` to enhance server registration and update processes.
This commit is contained in:
Zack Spear
2025-03-18 15:42:12 -07:00
parent 9e54237670
commit 234661a222
2 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ Tag="pencil"
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
require_once "$docroot/plugins/dynamix/include/ReplaceKey.php";
$replaceKey = new ReplaceKey();
$replaceKey->check();
?>
<unraid-i18n-host>
<unraid-registration></unraid-registration>

View File

@@ -14,7 +14,10 @@ Tag="upload"
* all copies or substantial portions of the Software.
*/
require_once "$docroot/plugins/dynamix.my.servers/include/reboot-details.php";
require_once "$docroot/plugins/dynamix/include/ReplaceKey.php";
$rebootDetails = new RebootDetails();
$replaceKey = new ReplaceKey();
$replaceKey->check();
?>
<script>
function cleanUpFlashBackup(zip) {