public function __construct()
 {
     parent::__construct();
     if (!isset($_SESSION["isLoggedIn"]) || !$_SESSION["isLoggedIn"]) {
         $this->add_sys_msg("You need to be logged in to access this page.");
         $this->view->render("login/index");
         exit;
     }
 }
Exemple #2
0
 function __construct()
 {
     parent::__construct();
 }