mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Probing via web frontend shouldn't use the cache.
This commit is contained in:
parent
bd62f10697
commit
e37b6bcd41
1 changed files with 2 additions and 3 deletions
|
@ -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>';
|
||||
|
|
Loading…
Reference in a new issue