mirror of
https://github.com/unraid/webgui.git
synced 2026-03-15 23:41:29 -05:00
Merge pull request #1612 from zackspear/fix/6-13-install-key-and-pro-update-os
6.13 – fix: pro key check for update via dropdown & Install Key class self instantiate with GET request
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@
|
||||
"css": [
|
||||
"_nuxt/unraid-components.client-fad7c220.css"
|
||||
],
|
||||
"file": "_nuxt/unraid-components.client-437ee6ff.js",
|
||||
"file": "_nuxt/unraid-components.client-71918f80.js",
|
||||
"isEntry": true,
|
||||
"src": ".nuxt/nuxt-custom-elements/entries/unraid-components.client.mjs"
|
||||
}
|
||||
|
||||
@@ -73,3 +73,11 @@ class KeyInstaller
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$isGetRequest = !empty($_SERVER) && isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET';
|
||||
$getHasUrlParam = $_GET !== null && !empty($_GET) && isset($_GET['url']);
|
||||
|
||||
if ($isGetRequest && $getHasUrlParam) {
|
||||
$keyInstaller = new KeyInstaller();
|
||||
$keyInstaller->installKey();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user