Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
 }