Esempio n. 1
0
 protected function _init()
 {
     parent::_init();
     require __APP_DIR . 'controller.php';
     $act = $this->request['ctl'] . ':' . $this->request['act'];
     $this->auth = K::M('member/auth');
     $this->auth->token();
     $this->uid = $this->auth->uid;
     $this->uname = $this->auth->uname;
     $this->MEMBER = $this->auth->member;
 }