From 9102fb3a6f5f205fc9d178ae2ce656674b1ba106 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 27 Feb 2011 14:17:42 -0800 Subject: autodiscover community pages for the directory --- mod/profile.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/profile.php b/mod/profile.php index 15a3a861f..827530bc8 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -18,6 +18,9 @@ function profile_init(&$a) { profile_load($a,$which,$profile); + if((x($a->profile,'page-flags')) && ($a->profile['page-flags'] & PAGE_COMMUNITY)) { + $a->page['htmlhead'] .= ''; + } if(x($a->profile,'openidserver')) $a->page['htmlhead'] .= '' . "\r\n"; if(x($a->profile,'openid')) { -- cgit v1.2.3