<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Teacher_Admin_Index extends Controller_UserEnvi { public function action_index() { $twig = Twig::factory('admin/index'); $twig->User = $this->UserInfo; $this->response->body($twig); } }