diff options
Diffstat (limited to '')
-rw-r--r-- | lib/PhpTemplate.php | 2 | ||||
-rw-r--r-- | view/relive.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/PhpTemplate.php b/lib/PhpTemplate.php index 3f0a15f..1f4b27c 100644 --- a/lib/PhpTemplate.php +++ b/lib/PhpTemplate.php @@ -16,7 +16,7 @@ class PhpTemplate public function __construct($file) { - $this -> file = $file; + $this->file = $file; } public function set($___data = array()) diff --git a/view/relive.php b/view/relive.php index 686d61e..e59f80c 100644 --- a/view/relive.php +++ b/view/relive.php @@ -1,9 +1,9 @@ <?php + $relive = new Relive(); if(!$relive->isEnabled()) throw new NotFoundException('Internal Relive is disabled'); - echo $tpl->render(array( 'page' => 'relive', 'title' => 'Relive!', |