X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/a73791f16d10ea0e2c477f29d9049d75516aa774..7bfe10119a31215f131c64fa57c3ffc10a58c8eb:/www/display.php?ds=sidebyside diff --git a/www/display.php b/www/display.php index 2376d30..ae29b87 100644 --- a/www/display.php +++ b/www/display.php @@ -3,10 +3,8 @@ namespace phorkie; /** * Display paste contents */ +$reqWritePermissions = false; require_once 'www-header.php'; -if ($GLOBALS['phorkie']['auth']['secure'] == 2) { - require_once 'secure.php'; -} $repo = new Repository(); $repo->loadFromRequest(); @@ -16,6 +14,7 @@ render( array( 'repo' => $repo, 'dh' => new \Date_HumanDiff(), + 'htmlhelper' => new HtmlHelper(), ) ); ?>