diff options
author | MaZderMind | 2015-03-31 23:17:01 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 23:17:01 +0200 |
commit | 024d632396def58c335944cae24371a10a3306b9 (patch) | |
tree | 579b4cdf2b4bb00a4329e186e19d2b2f9b1e519d /view/relive.php | |
parent | 5b3788456f9e5b290eb2148af50b3f0a981a8923 (diff) |
Implement Relive based on the MVT Pattern
Diffstat (limited to 'view/relive.php')
-rw-r--r-- | view/relive.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/relive.php b/view/relive.php index 0608423..686d61e 100644 --- a/view/relive.php +++ b/view/relive.php @@ -1,7 +1,11 @@ <?php +$relive = new Relive(); +if(!$relive->isEnabled()) + throw new NotFoundException('Internal Relive is disabled'); + echo $tpl->render(array( 'page' => 'relive', 'title' => 'Relive!', - 'talks' => relive_talks(), + 'talks' => $relive->getTalks(), )); |