示例#1
0
 public function __construct()
 {
     parent::__construct();
     if (\Classes\Auth::isLogged()) {
         header('Location: ' . URL . 'index/');
     }
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     \Classes\Auth::requireLogin();
 }