Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Controllers;
|
||||
|
||||
class IndexController {
|
||||
|
||||
private $tpl;
|
||||
public function __construct() {
|
||||
|
||||
}
|
||||
|
||||
public function main() {
|
||||
|
||||
$this->tpl = new \utils\template(VIEW . 'index.tpl');
|
||||
$this->tpl->render(["test"=>"foo"]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user