mirror of
https://github.com/unraid/webgui.git
synced 2026-01-21 09:00:19 -06:00
Fix code errors
This commit is contained in:
@@ -53,7 +53,7 @@ switch ($UPC_ENV) {
|
||||
echo '<script id="unraid-wc" defer src="' . $upcSrc . '"></script>';
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
const upcEnvCookie = '<?echo $_COOKIE['UPC_ENV'] ?>';
|
||||
const upcEnvCookie = "<?=$_COOKIE['UPC_ENV']??''?>";
|
||||
if (upcEnvCookie) console.debug('[UPC_ENV] ✨', upcEnvCookie);
|
||||
// If the UPC isn't defined after 2secs inject UPC via
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -471,7 +471,7 @@
|
||||
metacolor="<?=($display['headermetacolor']) ? '#'.$display['headermetacolor'] : ''?>"
|
||||
plg-path="dynamix.my.servers"
|
||||
reg-wiz-time="<?=($remote['regWizTime']) ? $remote['regWizTime'] : ''?>"
|
||||
send-crash-info="<?=$remote['sendCrashInfo']?>"
|
||||
send-crash-info="<?=$remote['sendCrashInfo']??''?>"
|
||||
serverdesc="<?=$var['COMMENT']?>"
|
||||
servermodel="<?=$var['SYS_MODEL']?>"
|
||||
serverstate="<?=rawurlencode(json_encode($serverstate, JSON_UNESCAPED_SLASHES))?>"
|
||||
|
||||
Reference in New Issue
Block a user