Fixed version detection not working

This commit is contained in:
Julian Prieber 2022-06-01 21:06:47 +02:00
parent 4d1499b6e4
commit 58d6be2882

View File

@ -7,7 +7,7 @@
$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json");
// Requests current version from the local version file and sets it as variable
$Vlocal = 'v' . file_get_contents(base_path("version.json"));
$Vlocal = file_get_contents(base_path("version.json"));
?>
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal or env('JOIN_BETA') === true)