SHARE
TWEET

Untitled

yodapt Aug 29th, 2011 142 Never
  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. }
RAW Paste Data
Top