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