File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 23
23
</p >
24
24
25
25
<p align =" center " >
26
- <a href =" https://littlelink-custom-demo.tru.io " ><img src =" https://i.imgur.com/EJNaMNW.png " alt =" Live Demo " width =" 250 " ></a >
26
+ <a href =" https://demo. littlelink-custom.com " ><img src =" https://i.imgur.com/EJNaMNW.png " alt =" Live Demo " width =" 250 " ></a >
27
27
</p >
28
28
29
29
<br >
@@ -60,7 +60,7 @@ Feel free to register your account and try out all the features of LittleLink Cu
60
60
61
61
<br >
62
62
<p align =" center " >
63
- <a href =" https://littlelink-custom-demo.tru.io / " ><img src =" https://i.imgur.com/EJNaMNW.png " alt =" Live Demo " width =" 350 " ></a >
63
+ <a href =" https://demo. littlelink-custom.com / " ><img src =" https://i.imgur.com/EJNaMNW.png " alt =" Live Demo " width =" 350 " ></a >
64
64
</p >
65
65
66
66
## Features
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ function URL_exists(string $url): bool
146
146
return str_contains (get_headers ($url )[0 ], " 200 OK" );
147
147
}
148
148
// Sets $ServerExists to true if URL exists
149
- if (URL_exists (" https://littlelink-custom.tru.io /version.json" )){
149
+ if (URL_exists (" https://littlelink-custom.com /version.json" )){
150
150
$ServerExists = " true" ;
151
151
}
152
152
} catch (exception $e ) {
@@ -158,15 +158,15 @@ function URL_exists(string $url): bool
158
158
@if (file_exists (base_path (" version.json" )) and $ServerExists == ' true' )
159
159
160
160
<?php // Requests newest version from server and sets it as variable
161
- $Vgit = file_get_contents (" https://littlelink-custom.tru.io /version.json" );
161
+ $Vgit = file_get_contents (" https://littlelink-custom.com /version.json" );
162
162
163
163
// Requests current version from the local version file and sets it as variable
164
164
$Vlocal = file_get_contents (base_path (" version.json" ));
165
165
? >
166
166
167
167
<! –– If user has role admin AND newest GitHub release version is higher than the local one an update notice will be displayed ––>
168
168
@if (auth ()-> user ()-> role == ' admin' and $Vgit > $Vlocal )
169
- <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>
169
+ <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>
170
170
@endif
171
171
@endif
172
172
<! –– #### end update detection #### ––>
You can’t perform that action at this time.
0 commit comments