Skip to content

Commit 5b73de7

Browse files
committed
Update update.blade.php
1 parent d1d8586 commit 5b73de7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

resources/views/update.blade.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
<div class="container">
55

66
<?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;
7+
$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json");
118
129
// Requests current version from the local version file and sets it as variable
1310
$Vlocal = 'v' . file_get_contents(base_path("version.json"));

0 commit comments

Comments
 (0)