1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Some additional Twitter meta.

This commit is contained in:
Cameron
2017-10-11 16:18:56 -07:00
parent 2a1f3b0d61
commit 166837f053
2 changed files with 6 additions and 1 deletions

View File

@@ -25,7 +25,11 @@ if(e_ADMIN_AREA !==true)
unset($ogImage);
}
if(deftrue('XURL_TWITTER') && XURL_TWITTER !== '#')
{
$screenName = basename(XURL_TWITTER);
e107::meta('twitter:site','@'.$screenName);
}
if(!empty($appID))
{