예제 #1
0
파일: auth.php 프로젝트: pompalini/emngo
 /**
  * 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();
 }
예제 #2
0
파일: user.php 프로젝트: rockylo/ionize
 /**
  * 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();
 }
예제 #3
0
파일: user.php 프로젝트: nbourguig/ionize
 /**
  * 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();
 }
예제 #4
0
파일: tracker.php 프로젝트: trk/ionize
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->load->model('tracker_model', '', TRUE);
 }