Пример #1
0
 /**
  * 构造函数
  * @access  public
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     if (!$this->session->this_user) {
         redirect(site_url('sign/signin'));
     }
 }
Пример #2
0
 function __construct()
 {
     parent::__construct(true, 'a');
     $this->relates = array();
     $this->is_lightbox = true;
     $this->plusId = '';
 }
Пример #3
0
 /**
  * 构造函数
  * @access  public
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     $captcha_cfg['useImgBg'] = TRUE;
     $captcha_cfg['useNoise'] = FALSE;
     $captcha_cfg['useCurve'] = FALSE;
     $captcha_cfg['useZh'] = FALSE;
     $captcha_cfg['fontSize'] = 16;
     $captcha_cfg['length'] = 4;
     $captcha_cfg['imageL'] = 120;
     $this->load->library('captcha', $captcha_cfg);
     $this->load->model('mdl_member');
 }
Пример #4
0
 function __construct()
 {
     parent::__construct(true, 'a');
     $this->load->library('pagination');
 }
Пример #5
0
 /**
  * 构造函数
  *
  * @access  public
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     $this->this_view_data['_js'][] = 'slider';
 }
Пример #6
0
 /**
  * 构造函数
  * @access  public
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Mdl_member');
 }
Пример #7
0
 function __construct()
 {
     parent::__construct(true, 'a');
     $this->relates = array();
 }