mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Update calls.php
This commit is contained in:
parent
da2daf2120
commit
c927d166a4
@ -37,7 +37,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
|||||||
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
||||||
}
|
}
|
||||||
} elseif ($_GET['type'] == 'dns_search') {
|
} 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') {
|
} elseif ($_GET['type'] == 'check_up') {
|
||||||
echo $idle->checkIsUp($_GET['host']);
|
echo $idle->checkIsUp($_GET['host']);
|
||||||
} elseif ($_GET['type'] == 'object_cards') {
|
} elseif ($_GET['type'] == 'object_cards') {
|
||||||
|
Loading…
Reference in New Issue
Block a user