diff --git a/config/self-update.php b/config/self-update.php index b31df63..e3cb229 100644 --- a/config/self-update.php +++ b/config/self-update.php @@ -2,7 +2,11 @@ declare(strict_types=1); -$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json"); +if (env('JOIN_BETA') === true) { + $Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json"); +} else { + $Vgit = '0'; +} if ($Vgit > $Vlocal) { $userver = 'https://update.littlelink-custom.com/'; diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 7533581..3e06c42 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -194,18 +194,18 @@ if ($url1sb->successful() or $url2sb->successful()) {