/** * Constructor * */ function __construct() { parent::__construct(); // Reset the restriction User()->disable_folder_protection(); // Disable xhr protection on index : let the desktop load $this->disable_xhr_protection(); }
/** * Constructor * */ function __construct() { parent::__construct(); // Models $this->load->model(array('user_model', 'role_model'), '', TRUE); // Current connected user level $this->current_role = User()->get_role(); }
/** * Constructor * */ function __construct() { parent::__construct(); // Reset the restrict array for this constructor to avoid the loop $this->connect->folder_protection = array(); // Could also be written : // Connect()->folder_protection = array(); }
/** * Constructor * */ function __construct() { parent::__construct(); $this->load->model('tracker_model', '', TRUE); }