コード例 #1
0
ファイル: InstallController.php プロジェクト: jefflv/phkapa
 /**
  * beforeFilter
  *
  * @return void
  * @access public
  */
 public function beforeFilter()
 {
     $this->Components->unload('Notify');
     parent::beforeFilter();
     $this->Auth->allow();
     //$this->layout = 'install';
 }
コード例 #2
0
ファイル: install_controller.php プロジェクト: Buszmen/croogo
 /**
  * beforeFilter
  *
  * @return void
  * @access public
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->layout = 'install';
     App::import('Component', 'Session');
     $this->Session = new SessionComponent();
 }
コード例 #3
0
 /**
  * beforeFilter
  *
  * @return void
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->L10n = new L10n();
     $lang = $this->L10n->get();
     Configure::write('Config.language', $lang);
     $this->layout = 'install';
     App::import('Component', 'Session');
     $this->Session = new SessionComponent();
 }
コード例 #4
0
 /**
  * beforeFilter
  *
  * @return void
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     //$this->Auth->allow('*');
     $this->layout = 'install';
     App::import('Component', 'Session');
     $this->Session = new SessionComponent();
     $appLicationName = 'SMART MICROSCOPE';
     $this->set('appLicationName', $appLicationName);
     $urlSite = 'http://localhost/skope_kaltim/';
     $this->set('urlSite', $urlSite);
 }
コード例 #5
0
 /**
  * beforeFilter
  *
  * @return void
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     //$this->Auth->allow('*');
     $this->layout = 'install';
     App::import('Component', 'Session');
     $this->Session = new SessionComponent();
     $appLicationName = 'ETEACHING SD';
     $this->set('appLicationName', $appLicationName);
     $urlSite = 'http://localhost/eteaching_sd/';
     $this->set('urlSite', $urlSite);
 }
コード例 #6
0
 /**
  * beforeFilter
  *
  * @author Jun Nishikawa <*****@*****.**>
  * @throws NotFoundException
  * @return void
  **/
 public function beforeFilter()
 {
     if (Configure::read('NetCommons.installed')) {
         throw new NotFoundException();
     }
     $this->Auth->allow();
     $this->layout = 'Install.default';
     Configure::write('debug', 0);
     parent::beforeFilter();
 }
コード例 #7
0
 public function beforeFilter()
 {
     parent::beforeFilter();
 }