Exemplo n.º 1
0
 /**
  * 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();
 }
Exemplo n.º 2
0
 /**
  * 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();
 }
Exemplo n.º 3
0
 /**
  * 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();
 }
Exemplo n.º 4
0
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->load->model('tracker_model', '', TRUE);
 }