X-Git-Url: https://git.cweiske.de/anoweco.git/blobdiff_plain/543d68030f825b369e907fe68380b6b5597f84e3..15d4e6d1249487c633b42898407b567b9061b116:/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); ?>