Autodiscovery header for webmention

This commit is contained in:
Stephen Paul Weber 2015-10-25 18:42:14 +00:00
parent f09a82268f
commit 47db1ab063

View File

@ -316,6 +316,7 @@ class LinkbackPlugin extends Plugin
public function onStartShowHTML($action)
{
header('Link: <' . common_local_url('webmention') . '>; rel="webmention"', false);
header('X-Pingback: ' . common_local_url('pingback'));
}