This commit is contained in:
Daisuke
2020-04-09 14:31:48 -05:00
parent c16f58c013
commit 869f09062a
69 changed files with 6568 additions and 39 deletions

View File

@ -8,8 +8,8 @@ include "../include/functions.php";
$message = "";
if (isset($_POST['user'])){
$instance = htmlentities($_POST['user']);
if (isset($_POST['user']) || isset($_GET['instance'])){
$instance = (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'])){