aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-03-24 09:11:26 +0000
committerMario <mario@mariovavti.com>2025-03-24 09:11:26 +0000
commitdd9ab07044d4d8a1ea97b732b546226a18a58b09 (patch)
tree63ff06929b3b3dfdcabe089104cc1259378937f3 /Zotlabs
parentafd811a875d296a298014273173c530e4e323908 (diff)
downloadvolse-hubzilla-dd9ab07044d4d8a1ea97b732b546226a18a58b09.tar.gz
volse-hubzilla-dd9ab07044d4d8a1ea97b732b546226a18a58b09.tar.bz2
volse-hubzilla-dd9ab07044d4d8a1ea97b732b546226a18a58b09.zip
restrict access to tool to local channels
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Zot_probe.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Zot_probe.php b/Zotlabs/Module/Zot_probe.php
index cf8355ce6..feb51f071 100644
--- a/Zotlabs/Module/Zot_probe.php
+++ b/Zotlabs/Module/Zot_probe.php
@@ -9,6 +9,10 @@ class Zot_probe extends \Zotlabs\Web\Controller {
function get() {
+ if (!local_channel()) {
+ return;
+ }
+
$addr = $_GET['addr'] ?? '';
$o = '<h3>Zot6 Probe Diagnostic</h3>';