Exemple #1
0
 public function __init()
 {
     parent::__init();
     if ($this->login === true && ACTION !== 'logout') {
         $this->jump('/');
     }
 }
Exemple #2
0
 public function __init()
 {
     parent::__init();
     if ($this->login === true && ACTION !== 'logout') {
         $this->url('/d/manage', true);
     }
     $this->checkVerify();
 }