mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-25 00:08:05 +01:00
Update update.blade.php
This commit is contained in:
parent
d1d8586b32
commit
5b73de7584
@ -4,10 +4,7 @@
|
||||
<div class="container">
|
||||
|
||||
<?php // Requests newest version from server and sets it as variable
|
||||
ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 6.0)');
|
||||
$json = file_get_contents("https://api.github.com/repos/julianprieber/littlelink-custom/releases/latest") ;
|
||||
$myObj = json_decode($json);
|
||||
$Vgit = $myObj->tag_name;
|
||||
$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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user