mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-26 16:57:52 +01:00
Fixed version detection not working
This commit is contained in:
parent
4d1499b6e4
commit
58d6be2882
@ -7,7 +7,7 @@
|
|||||||
$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json");
|
$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
|
// 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)
|
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal or env('JOIN_BETA') === true)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user