We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d8586 commit 5b73de7Copy full SHA for 5b73de7
resources/views/update.blade.php
@@ -4,10 +4,7 @@
4
<div class="container">
5
6
<?php // Requests newest version from server and sets it as variable
7
- ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 6.0)');
8
- $json = file_get_contents("https://api.github.com/repos/julianprieber/littlelink-custom/releases/latest") ;
9
- $myObj = json_decode($json);
10
- $Vgit = $myObj->tag_name;
+ $Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json");
11
12
// Requests current version from the local version file and sets it as variable
13
$Vlocal = 'v' . file_get_contents(base_path("version.json"));
0 commit comments