Update calls.php

This commit is contained in:
cp6 2021-02-07 00:23:52 +11:00
parent da2daf2120
commit c927d166a4

View File

@ -37,7 +37,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
}
} elseif ($_GET['type'] == 'dns_search') {
$idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']);
header('Content-Type: text/html; charset=utf-8');
echo $idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']);
} elseif ($_GET['type'] == 'check_up') {
echo $idle->checkIsUp($_GET['host']);
} elseif ($_GET['type'] == 'object_cards') {