more modmagic tracking

This commit is contained in:
friendica 2013-05-28 22:03:35 -07:00
parent 5160f15b80
commit ea11ff57ce

View File

@ -27,6 +27,7 @@ function magic_init(&$a) {
$b = explode('/',$dest);
if(count($b) >= 2)
$u = $b[0] . '//' . $b[2];
logger('mod_magic: fallback: ' . $b . ' -> ' . $u);
$x = q("select xchan.xchan_url, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash
where hubloc_url = '%s' order by hubloc_id desc limit 1",