diff --git a/include/probe.php b/include/probe.php deleted file mode 100644 index 8cf703be8..000000000 --- a/include/probe.php +++ /dev/null @@ -1,41 +0,0 @@ - t("Public access denied."), + "description" => t("Only logged in users are permitted to perform a probing."))); + killme(); + } + + $o .= '

Probe Diagnostic

'; + + $o .= '
'; + $o .= 'Lookup address: '; + $o .= '
'; + + $o .= '

'; + + if (x($_GET, 'addr')) { + $addr = trim($_GET['addr']); + $res = Probe::uri($addr, "", 0, false); + $o .= '
';
+		$o .= str_replace("\n", '
', print_r($res, true)); + $o .= '
'; + } + + return $o; +}