mirror of
https://github.com/friendica/friendica
synced 2024-12-22 12:29:47 +01:00
autodiscover community pages for the directory
This commit is contained in:
parent
b41b0fcba9
commit
9102fb3a6f
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ function profile_init(&$a) {
|
||||||
|
|
||||||
profile_load($a,$which,$profile);
|
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'))
|
if(x($a->profile,'openidserver'))
|
||||||
$a->page['htmlhead'] .= '<link rel="openid.server" href="' . $a->profile['openidserver'] . '" />' . "\r\n";
|
$a->page['htmlhead'] .= '<link rel="openid.server" href="' . $a->profile['openidserver'] . '" />' . "\r\n";
|
||||||
if(x($a->profile,'openid')) {
|
if(x($a->profile,'openid')) {
|
||||||
|
|
Loading…
Reference in a new issue