Advertisement
yodapt

Untitled

Aug 29th, 2011
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php defined('SYSPATH') or die('No direct script access.');
  2.  
  3. class Controller_Site_Home extends Controller_Base {
  4.  
  5.     # required roles
  6.     public $auth_required = FALSE;
  7.    
  8.     # secure actions
  9.     public $secure_actions = FALSE;
  10.  
  11.     public function action_index()
  12.     {
  13.         # performs routine tasks
  14.         parent::init();
  15.        
  16.         # loads the view
  17.         $view = new View_Site_Home_Index;
  18.        
  19.         $this->response->body($view);
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement