290420 New theme, personal settings and bugfixes
This commit is contained in:
@ -9,7 +9,7 @@ include "../include/functions.php";
|
||||
$message = "";
|
||||
|
||||
if (isset($_POST['user']) || isset($_GET['instance'])){
|
||||
$instance = (isset($_POST['user']) ? htmlentities($_POST['user']) : htmlentities($_GET['instance']));
|
||||
$instance = strtolower((isset($_POST['user']) ? htmlentities($_POST['user']) : htmlentities($_GET['instance'])));
|
||||
$check = json_decode(file_get_contents("https://$instance/api/v1/instance"),true);
|
||||
|
||||
if(is_null($check['title'])){
|
||||
|
||||
Reference in New Issue
Block a user