public function __construct() { $this->localized = true; parent::__construct(); $this->redirectIfLoggedOut(); $this->load->model('users_to_marks_model', 'user_marks'); }
public function __construct() { parent::__construct(); $this->redirectIfLoggedOut(); $this->redirectIfWebView(); // Load user marks model $this->load->model('labels_model', 'labels'); }
public function __construct() { parent::__construct(); parent::redirectIfNotInternal(); parent::redirectIfLoggedIn(); if ($this->config->item('plain_enable_registrations') === false) { show_error('Public registrations have been disabled.'); } }
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; }
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'); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); parent::redirectIfLoggedOut(); }
public function __construct() { parent::__construct(); parent::redirectIfNotInternalAJAX(); }
public function __construct() { parent::__construct(); parent::redirectIfNotCommandLine(); }