Updated Domain
This commit is contained in:
parent
09bd0aed96
commit
fe7fc9f714
|
@ -23,7 +23,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<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>
|
</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -60,7 +60,7 @@ Feel free to register your account and try out all the features of LittleLink Cu
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<p align="center">
|
<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>
|
</p>
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
return str_contains(get_headers($url)[0], "200 OK");
|
return str_contains(get_headers($url)[0], "200 OK");
|
||||||
}
|
}
|
||||||
// Sets $ServerExists to true if URL exists
|
// 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";
|
$ServerExists = "true";
|
||||||
}
|
}
|
||||||
} catch (exception $e) {
|
} catch (exception $e) {
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
|
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
|
||||||
|
|
||||||
<?php // Requests newest version from server and sets it as variable
|
<?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
|
// Requests current version from the local version file and sets it as variable
|
||||||
$Vlocal = file_get_contents(base_path("version.json"));
|
$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 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)
|
@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
|
||||||
@endif
|
@endif
|
||||||
<! –– #### end update detection #### ––>
|
<! –– #### end update detection #### ––>
|
||||||
|
|
Loading…
Reference in New Issue