debug rmagic

This commit is contained in:
friendica
2013-02-08 18:28:39 -08:00
parent f6af431612
commit 28b11f3567
2 changed files with 11 additions and 5 deletions

View File

@@ -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)
);
}