@if(env('NOTIFY_UPDATES') === 'old')
@if(file_exists(base_path("version.json")))
tag_name;
// Requests current version from the local version file and sets it as variable
$Vlocal = 'v' . file_get_contents(base_path("version.json"));
?>
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal)
An update is available
@endif
@endif
@elseif(env('NOTIFY_UPDATES') == 'true' or env('NOTIFY_UPDATES') === 'major' or env('NOTIFY_UPDATES') === 'all')
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal)
An update is available
@endif
@endif
@endif
@if(auth()->user()->role == 'admin' and $compromised === "true")
Your security is at risk!
@endif
@if(env('JOIN_BETA') === true)
You are in BETA mode! &color=FFFFFF"> &color=FFFFFF">
@endif
@if ($color_scheme_override == 'dark' or ($color_scheme == 'dark' and $color_scheme_override != 'dark' and $color_scheme_override != 'light'))
🌙☀️
@elseif ($color_scheme_override == 'light' or ($color_scheme == 'light' and $color_scheme_override != 'dark' and $color_scheme_override != 'light'))
🌙☀️
@endif
View Page