X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/2b4b34a76f42841e964a549fc64c02ba4f60a3f4..7bfe10119a31215f131c64fa57c3ffc10a58c8eb:/www/display.php diff --git a/www/display.php b/www/display.php index 7a1c1cc..ae29b87 100644 --- a/www/display.php +++ b/www/display.php @@ -3,6 +3,7 @@ namespace phorkie; /** * Display paste contents */ +$reqWritePermissions = false; require_once 'www-header.php'; $repo = new Repository(); @@ -12,6 +13,8 @@ render( 'display', array( 'repo' => $repo, + 'dh' => new \Date_HumanDiff(), + 'htmlhelper' => new HtmlHelper(), ) ); ?>