/**
  * beforeFilter
  *
  * @return void
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->layout = 'installer';
     App::import('Component', 'Session');
     $this->Session = new SessionComponent();
     $this->sql = array('core_tables' => APP . 'plugins' . DS . 'installer' . DS . 'config' . DS . 'schema' . DS . 'infinitas.sql', 'core_data' => APP . 'plugins' . DS . 'installer' . DS . 'config' . DS . 'schema' . DS . 'infinitas_core_data.sql', 'core_sample_data' => APP . 'plugins' . DS . 'installer' . DS . 'config' . DS . 'schema' . DS . 'infinitas_sample_data.sql');
 }
 /**
  *
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     if ($this->action != 'index') {
         if (!$this->Session->check('Installer.valid')) {
             $this->redirect(array('action' => 'index'));
         }
     }
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->layout = 'installer';
     $this->view = 'View';
     $this->helpers[] = 'Html';
     //App::import('Component', 'Session');
     //$this->Session = new SessionComponent;
     $this->sql = array('core_data' => APP . 'infinitas' . DS . 'installer' . DS . 'config' . DS . 'schema' . DS . 'infinitas_core_data.sql', 'core_sample_data' => APP . 'infinitas' . DS . 'installer' . DS . 'config' . DS . 'schema' . DS . 'infinitas_sample_data.sql');
 }
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow('*');
 }