mirror of
https://github.com/unraid/webgui.git
synced 2026-04-26 04:11:12 -05:00
Check safemode based on $var state
This commit is contained in:
@@ -60,7 +60,7 @@ html{font-size:<?=$display['font']?>}
|
||||
.upgrade_notice i{margin:14px;float:right;cursor:pointer}
|
||||
.back_to_top{display:none;position:fixed;bottom:30px;right:12px;color:#e22828;font-size:2.5rem;z-index:999}
|
||||
<?
|
||||
$safemode = strpos(file_get_contents('/proc/cmdline'),'unraidsafemode')!==false;
|
||||
$safemode = $var['safeMode']=='yes';
|
||||
$tasks = find_pages('Tasks');
|
||||
$buttons = find_pages('Buttons');
|
||||
$banner = '/boot/config/plugins/dynamix/banner.png';
|
||||
|
||||
Reference in New Issue
Block a user