From 49a392942cbea18432c44f227804e3cc8f5d79b0 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 14 Nov 2013 14:19:20 -0800 Subject: acl in webpages and a couple of other little bits related to webpages - sort the list of pages by last edited and use prepare_body() so we get private stuff (and attachments, categories, etc.) formatted correctly --- mod/magic.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/magic.php') diff --git a/mod/magic.php b/mod/magic.php index 623a80751..4eb688767 100644 --- a/mod/magic.php +++ b/mod/magic.php @@ -33,10 +33,12 @@ function magic_init(&$a) { if(count($b) >= 2) { $u = $b[0] . '//' . $b[2]; +dbg(1); $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", dbesc($u) ); +dbg(0); } } -- cgit v1.2.3