Probing via web frontend shouldn't use the cache.

This commit is contained in:
Michael 2017-05-23 19:38:47 +00:00
parent bd62f10697
commit e37b6bcd41
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
<?php
use Friendica\App;
require_once 'include/probe.php';
use Friendica\Network\Probe;
function probe_content(App $a) {
@ -22,7 +21,7 @@ function probe_content(App $a) {
if (x($_GET, 'addr')) {
$addr = trim($_GET['addr']);
$res = probe_url($addr);
$res = Probe::uri($addr, "", 0, false);
$o .= '<pre>';
$o .= str_replace("\n", '<br />', print_r($res, true));
$o .= '</pre>';