autodiscover community pages for the directory

pull/1/head
Friendika 12 years ago
parent b41b0fcba9
commit 9102fb3a6f
  1. 3
      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'] .= '<meta name="friendika.community" content="true" />';
}
if(x($a->profile,'openidserver'))
$a->page['htmlhead'] .= '<link rel="openid.server" href="' . $a->profile['openidserver'] . '" />' . "\r\n";
if(x($a->profile,'openid')) {

Loading…
Cancel
Save