X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/c12906d4181a185db6de00e4a1dc11897a1d4718..HEAD:/www/display.php?ds=sidebyside diff --git a/www/display.php b/www/display.php index f806c56..464741b 100644 --- a/www/display.php +++ b/www/display.php @@ -1,17 +1,28 @@ loadFromRequest(); +header('X-Pingback: ' . $repo->getLink('linkback', null, true)); +header( + 'Link: <' . $repo->getLink('linkback', null, true) . '>;' + . 'rel="http://webmention.org/"' +); + render( 'display', array( 'repo' => $repo, + 'dh' => new \Date_HumanDiff(), + 'htmlhelper' => new HtmlHelper(), + 'domain' => $_SERVER['HTTP_HOST'], + 'flashmessages' => FlashMessage::getAll(), ) ); ?>