Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('string');
     $this->load->library('user_agent');
     $this->lang->load('user');
 }
Пример #2
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     //关闭数据库缓存
     $this->db->cache_off();
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('dance');
     $this->load->model('CsdjTpl');
     $this->load->model('CsdjUser');
 }
Пример #4
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjAdmin');
     $this->lang->load('admin_pl');
     $this->CsdjAdmin->Admin_Login();
 }
Пример #5
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('vod');
     $this->load->model('CsdjTpl');
     //装载视图模型
 }
Пример #6
0
 function __construct()
 {
     parent::__construct();
     if (empty($_SERVER['HTTP_REFERER'])) {
         exit('error 404');
     }
 }
Пример #7
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     $this->load->library('card');
     $this->load->model('CsdjAdmin');
 }
Пример #8
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('dance');
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
 }
Пример #9
0
 function __construct()
 {
     parent::__construct();
     //关闭数据库缓存
     $this->db->cache_off();
     $this->load->model('CsdjTpl');
     $this->load->model('CsdjUser');
 }
Пример #10
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     $this->load->library('pinyin');
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
 }
Пример #11
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('vod');
     $this->load->model('CsdjTpl');
     $this->load->model('CsdjUser');
     $this->CsdjUser->User_Login();
 }
Пример #12
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjAdmin');
     $this->lang->load('admin_collect');
     $this->CsdjAdmin->Admin_Login();
     $this->load->library('caiji');
 }
Пример #13
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjTpl');
     $this->load->model('CsdjUser');
     $this->lang->load('user');
     $this->CsdjUser->User_Login();
 }
Пример #14
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
     $this->load->helper('directory');
     $this->load->library('csapp');
     $this->lang->load('admin_skin');
 }
Пример #15
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
     $this->load->helper('file');
     $this->lang->load('admin_plugins');
     $this->load->library('csapp');
 }
Пример #16
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     if (!$this->agent->is_referral()) {
         show_error('您访问的页面不存在~!', 404, Web_Name . '提醒您');
     }
     //关闭数据库缓存
     $this->db->cache_off();
 }
Пример #17
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     if (!$this->agent->is_referral()) {
         show_error(L('dance_01'), 404, Web_Name . L('dance_02'));
     }
     //关闭数据库缓存
     $this->db->cache_off();
 }
Пример #18
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjTpl');
     $this->load->model('CsdjUser');
     $this->lang->load('home');
     if (!defined('HOMEPATH')) {
         define('HOMEPATH', 'home');
     }
 }
Пример #19
0
 function __construct()
 {
     parent::__construct();
     $this->lang->load('home');
     $this->load->library('user_agent');
     if (!$this->agent->is_referral()) {
         show_error(L('ajax_01'), 404, Web_Name . L('ajax_02'));
     }
     //关闭数据库缓存
     $this->db->cache_off();
     $this->load->model('CsdjUser');
 }
Пример #20
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('file');
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
     $this->lang->load('admin_upgrade');
     $this->_upgrade = "http://upgrade.chshcms.com/";
     //程序升级地址
     $this->_filearr = array('.', 'packs', 'cscms');
     //MD5效验目录
 }
Пример #21
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('dance');
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
     $this->load->model('CsdjTpl');
     //判断运行模式
     if (config('Web_Mode') != 3) {
         admin_msg(L('plub_17'), 'javascript:history.back();', 'no');
     }
     $this->huri = config('Html_Uri');
 }
Пример #22
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('pic');
     $this->load->model('CsdjAdmin');
     $this->CsdjAdmin->Admin_Login();
     $this->load->model('CsdjTpl');
     //判断运行模式
     if (config('Web_Mode') != 3) {
         admin_msg('板块浏览模式非静态,不需要生成静态文件~!', 'javascript:history.back();', 'no');
     }
     $this->huri = config('Html_Uri');
 }
Пример #23
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->helper('file');
     $this->load->get_templates('install');
     $all = explode("/", $_SERVER["REQUEST_URI"]);
     $dir = $all[1] != 'index.php' ? $all[1] : '';
     $url = str_replace('//', '/', $_SERVER['HTTP_HOST'] . '/' . $dir . '/');
     $url = "http://" . $url;
     $installurl = $url . 'index.php/install/';
     define("install_path", $url);
     define("install_url", $installurl);
 }
Пример #24
0
 function __construct()
 {
     parent::__construct();
     //关闭数据库缓存
     $this->db->cache_off();
 }
Пример #25
0
 function __construct()
 {
     parent::__construct();
     $this->lang->load('user');
 }
Пример #26
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjUser');
     $this->lang->load('pay');
 }
Пример #27
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjTpl');
 }
Пример #28
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('CsdjUser');
     $this->load->helper('string');
 }
Пример #29
0
 function __construct()
 {
     parent::__construct();
 }