From: Adam Magness Date: Tue, 7 Nov 2017 17:31:32 +0000 (-0500) Subject: Correct deletion X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a782ab50f91de804f36bcc32e07cf15c7287ea41;p=friendica.git Correct deletion Bring back mod/probe.php and delete include/probe.php as intended. --- diff --git a/include/probe.php b/include/probe.php deleted file mode 100644 index 8cf703be80..0000000000 --- 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; +}