/**
  * Admin controller constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->minAuthLevel = 1;
     if (!$this->isLoggedIn()) {
         redirect(base_url() . 'modal/user/');
     } else {
         $this->_sUserName = $this->session->username;
     }
 }
 /**
  * Admin controller constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->minAuthLevel = 1;
     if (!$this->isLoggedIn()) {
         $this->redirectLogin();
     } else {
         $this->_sUserName = $this->session->username;
     }
 }
 /**
  * Public controller constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->minAuthLevel = 0;
 }