예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $segment = $this->uri->rsegment(2);
     if ($this->session->userdata('demo_exam_uid') && $segment != 'check_login') {
         redirect('demo/test/index');
     }
     $this->load->model('demo/exam_model');
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #3
0
파일: log.php 프로젝트: Vincent-Shen/origin
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'config/app/demo/log_type_desc.php';
 }