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