Beispiel #1
0
 public function __construct()
 {
     $this->localized = true;
     parent::__construct();
     $this->redirectIfLoggedOut();
     $this->load->model('users_to_marks_model', 'user_marks');
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     $this->redirectIfLoggedOut();
     $this->redirectIfWebView();
     // Load user marks model
     $this->load->model('labels_model', 'labels');
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfNotInternal();
     parent::redirectIfLoggedIn();
     if ($this->config->item('plain_enable_registrations') === false) {
         show_error('Public registrations have been disabled.');
     }
 }
Beispiel #4
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfLoggedOut();
     // If we can't find a user id, get them out of here
     if (!isset($this->user_id) || !is_numeric($this->user_id)) {
         header('Location: /');
         exit;
     }
     // Set default success to false
     $this->data['success'] = false;
 }
Beispiel #5
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfLoggedOut();
     parent::redirectIfNotInternalAJAX();
     parent::redirectIfInvalidCSRF();
     // If we can't find a user id, get them out of here
     if (!isset($this->user_id) || !is_numeric($this->user_id)) {
         header('Location: /');
         exit;
     }
     // Set default success to false
     $this->data['success'] = false;
     // Load user model
     $this->load->model('users_model', 'user');
 }
Beispiel #6
0
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #7
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfLoggedOut();
 }
Beispiel #8
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfNotInternalAJAX();
 }
Beispiel #9
0
 public function __construct()
 {
     parent::__construct();
     parent::redirectIfNotCommandLine();
 }