consolidated is offline code
This commit is contained in:
parent
edcd66f39b
commit
590a04ccce
6
ring.php
6
ring.php
|
@ -1,9 +1,5 @@
|
|||
<?php
|
||||
|
||||
function disabled($url, $id) {
|
||||
return "https://tilde.team/~barrow/loop/temp.php?id=$id&url=$url";
|
||||
}
|
||||
|
||||
// Shamelessly stolen from somebody on the internet idk
|
||||
function isSiteAvailable($url) {
|
||||
// Check, if a valid url is provided
|
||||
|
@ -33,7 +29,7 @@ function check_site($url, $id) {
|
|||
if(isSiteAvailable($url)) {
|
||||
return $url;
|
||||
} else {
|
||||
return disabled($url, $id);
|
||||
return "https://tilde.team/~barrow/loop/temp.php?id=$id&url=$url";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue