06462afa72f9e6af525241a65e2c4700ce212074
[phorkie.git] / www / revision.php
1 <?php
2 namespace phorkie;
3 /**
4  * Display paste contents
5  */
6 require_once 'www-header.php';
7 if ($GLOBALS['phorkie']['auth']['secure'] == 2) {
8     require_once 'secure.php';
9 }
10
11 $repo = new Repository();
12 $repo->loadFromRequest();
13
14 render(
15     'revision',
16     array(
17         'repo' => $repo,
18         'dh'   => new \Date_HumanDiff(),
19     )
20 );
21 ?>