Example #1
0
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     if (!defined('DR_IS_SO')) {
         $this->_m_init();
     }
 }
 /**
  * 构造函数继承公共Module类
  */
 public function __construct()
 {
     parent::__construct();
     $this->space = $this->get_cache('member', 'setting', 'space');
     define('SPACE_URL', $this->space['domain'] ? 'http://' . $this->space['domain'] . '/' : SITE_URL . 'space/');
     define('SPACE_THEME_PATH', SPACE_URL . 'statics/' . SITE_THEME . '/');
 }
Example #3
0
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     if (defined('DR_PAY_ID') && DR_PAY_ID) {
         $this->load->model('pay_model');
         require FCPATH . 'member/pay/' . DR_PAY_ID . '/call.php';
     } elseif (defined('DR_UEDITOR') && is_dir(APPPATH . DR_UEDITOR)) {
         require APPPATH . DR_UEDITOR . '/php/controller.php';
         exit;
     } else {
         $this->template->assign('newpm', $this->db->where('uid', (int) $this->uid)->get('newpm')->row_array());
     }
 }
Example #4
0
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
 }