X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/6e394a68efca97003cebb92934898f165a2f67bc..a73791f16d10ea0e2c477f29d9049d75516aa774:/www/revision.php diff --git a/www/revision.php b/www/revision.php index 53ac458..06462af 100644 --- a/www/revision.php +++ b/www/revision.php @@ -4,6 +4,9 @@ namespace phorkie; * Display paste contents */ require_once 'www-header.php'; +if ($GLOBALS['phorkie']['auth']['secure'] == 2) { + require_once 'secure.php'; +} $repo = new Repository(); $repo->loadFromRequest();