X-Git-Url: https://git.cweiske.de/anoweco.git/blobdiff_plain/eb59a11b5dea806a6c06f5ba803a45fdd5b63b88..506949fa5639b8810a2437a9bffbe40165e4d8ae:/www/comment.php diff --git a/www/comment.php b/www/comment.php index beaad96..e384361 100644 --- a/www/comment.php +++ b/www/comment.php @@ -58,5 +58,10 @@ if ($rowComment->comment_type == 'like') { $vars['htmlContent'] = $htmlContent; } +if (isset($linkbackEndpoint) && $linkbackEndpoint) { + header('X-Pingback: ' . $linkbackEndpoint); + header('Link: <' . $linkbackEndpoint . '>; rel="webmention"'); +} + render($template, $vars); ?>