예제 #1
0
파일: Base.php 프로젝트: ariol/adminshop
 public function before()
 {
     if ($this->request->action() == 'login') {
         $this->_login_route = NULL;
     }
     parent::before();
 }
예제 #2
0
파일: admin.php 프로젝트: TdroL/hurtex
 function before()
 {
     parent::before();
     $this->company = Kohana::config('company');
     if ($this->view instanceof View) {
         $this->view->bind_global('company', $this->company);
     }
 }