Updating calls.php to fix GET statement
This commit is contained in:
parent
aa4a4f9b0d
commit
bce776296b
|
@ -36,7 +36,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||||
} elseif ($_GET['value'] == 'domain') {
|
} elseif ($_GET['value'] == 'domain') {
|
||||||
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
||||||
}
|
}
|
||||||
} elseif ($_GET['type'] == 'dns_search') {
|
} elseif ($_GET['type'] == 'A' || $_GET['type'] == 'AAAA') {
|
||||||
$idle->getIpForDomain($_GET['hostname'], $_GET['type']);
|
$idle->getIpForDomain($_GET['hostname'], $_GET['type']);
|
||||||
} elseif ($_GET['type'] == 'check_up') {
|
} elseif ($_GET['type'] == 'check_up') {
|
||||||
echo $idle->checkIsUp($_GET['host']);
|
echo $idle->checkIsUp($_GET['host']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user