aboutsummaryrefslogtreecommitdiffstats
path: root/mod/magic.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-08 18:28:39 -0800
committerfriendica <info@friendica.com>2013-02-08 18:28:39 -0800
commit28b11f3567deff72dff943af67ab963b98262eda (patch)
tree932d378a5789a206dac89004b3756ba765e64b4b /mod/magic.php
parentf6af431612d758276287b464ec3454df167823c8 (diff)
downloadvolse-hubzilla-28b11f3567deff72dff943af67ab963b98262eda.tar.gz
volse-hubzilla-28b11f3567deff72dff943af67ab963b98262eda.tar.bz2
volse-hubzilla-28b11f3567deff72dff943af67ab963b98262eda.zip
debug rmagic
Diffstat (limited to 'mod/magic.php')
-rw-r--r--mod/magic.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/magic.php b/mod/magic.php
index 72fbe6dba..ba9e69a49 100644
--- a/mod/magic.php
+++ b/mod/magic.php
@@ -27,10 +27,12 @@ function magic_init(&$a) {
$b = explode('/',$dest);
if(count($b) >= 2)
$u = $b[0] . '//' . $b[2];
+
$x = q("select xchan.xchan_url, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash
where hubloc_url = '%s' limit 1",
dbesc($u)
);
+
}