Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') or die('No direct script access.');
- class Controller_Site_Home extends Controller_Base {
- # required roles
- public $auth_required = FALSE;
- # secure actions
- public $secure_actions = FALSE;
- public function action_index()
- {
- # performs routine tasks
- parent::init();
- # loads the view
- $view = new View_Site_Home_Index;
- $this->response->body($view);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement