Updated Domain
This commit is contained in:
parent
09bd0aed96
commit
fe7fc9f714
|
@ -23,7 +23,7 @@
|
|||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://littlelink-custom-demo.tru.io"><img src="https://i.imgur.com/EJNaMNW.png" alt="Live Demo" width="250" ></a>
|
||||
<a href="https://demo.littlelink-custom.com"><img src="https://i.imgur.com/EJNaMNW.png" alt="Live Demo" width="250" ></a>
|
||||
</p>
|
||||
|
||||
<br>
|
||||
|
@ -60,7 +60,7 @@ Feel free to register your account and try out all the features of LittleLink Cu
|
|||
|
||||
<br>
|
||||
<p align="center">
|
||||
<a href="https://littlelink-custom-demo.tru.io/"><img src="https://i.imgur.com/EJNaMNW.png" alt="Live Demo" width="350" ></a>
|
||||
<a href="https://demo.littlelink-custom.com/"><img src="https://i.imgur.com/EJNaMNW.png" alt="Live Demo" width="350" ></a>
|
||||
</p>
|
||||
|
||||
## Features
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
return str_contains(get_headers($url)[0], "200 OK");
|
||||
}
|
||||
// Sets $ServerExists to true if URL exists
|
||||
if (URL_exists("https://littlelink-custom.tru.io/version.json")){
|
||||
if (URL_exists("https://littlelink-custom.com/version.json")){
|
||||
$ServerExists = "true";
|
||||
}
|
||||
} catch (exception $e) {
|
||||
|
@ -158,7 +158,7 @@
|
|||
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
|
||||
|
||||
<?php // Requests newest version from server and sets it as variable
|
||||
$Vgit = file_get_contents("https://littlelink-custom.tru.io/version.json");
|
||||
$Vgit = file_get_contents("https://littlelink-custom.com/version.json");
|
||||
|
||||
// Requests current version from the local version file and sets it as variable
|
||||
$Vlocal = file_get_contents(base_path("version.json"));
|
||||
|
@ -166,7 +166,7 @@
|
|||
|
||||
<! –– If user has role admin AND newest GitHub release version is higher than the local one an update notice will be displayed ––>
|
||||
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal)
|
||||
<a style="color:#007bff" class="nav-link" href="https://littlelink-custom.tru.io/how-to-update.html" target="_blank" title="Click here to learn more about how to update">An update is available</a>
|
||||
<a style="color:#007bff" class="nav-link" href="https://littlelink-custom.com/how-to-update.html" target="_blank" title="Click here to learn more about how to update">An update is available</a>
|
||||
@endif
|
||||
@endif
|
||||
<! –– #### end update detection #### ––>
|
||||
|
|
Loading…
Reference in New Issue