public function _initialize() { parent::_initialize(); C('TMPL_FILE_NAME', './views/tools/..'); //模板目录 $this->DCModel = D('Admin.Datacheck'); }
public function _initialize() { parent::_initialize(); $this->VideoDB = D('Admin.Video'); $this->UserVDB = D('Admin.Userview'); $this->CommDB = D('Admin.Comment'); }
public function _initialize() { parent::_initialize(); //RBAC 验证接口初始化 Vendor('Common.Tree'); //导入通用树型类 }
public function _initialize() { parent::_initialize(); $this->SpecDB = D('Admin.Special'); $this->VideoDB = D('Admin.Video'); $this->InfoDB = D('Admin.Info'); }
public function _initialize() { parent::_initialize(); $this->assign($this->tags_style()); $this->VideoDB = D('Home.Video'); $this->InfoDB = D('Home.Info'); }
public function _initialize() { parent::_initialize(); C('TMPL_FILE_NAME', './views/collection/..'); $this->CModel = D('Admin.CustomCollect'); $this->RModel = D('Admin.ColRun'); }
public function _initialize() { parent::_initialize(); $this->UserDB = D('Admin.User'); $this->UserVDB = D('Admin.Userview'); $this->GbookDB = D('Admin.Gbook'); $this->CommDB = D('Admin.Comment'); }
function _initialize() { parent::_initialize(); //RBAC 验证接口初始化 header("Content-type: text/html;charset=utf-8"); set_time_limit(0); //不超时 ini_set('memory_limit', '512M'); $this->config = array('path' => C('DB_BACKUP'), 'isCompress' => 0, 'isDownload' => 0); $this->dbName = C('DB_NAME'); //当前数据库名称 $this->model = new Model(); //$sql = 'set interactive_timeout=24*3600'; //空闲多少秒后 断开链接 //$this->model>execute($sql); }
public function _initialize() { parent::_initialize(); $this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Payment' . DIRECTORY_SEPARATOR; $this->payment = new Payment($this->file_path); }
public function _initialize() { parent::_initialize(); $this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Oauth' . DIRECTORY_SEPARATOR; $this->oauth = new Oauth($this->file_path); }
public function _initialize() { parent::_initialize(); $this->SelfDB = D('Admin.Self'); }
public function _initialize() { parent::_initialize(); $this->InfoDB = D('Admin.Info'); }
public function _initialize() { parent::_initialize(); $this->name = $this->_name; }
public function _initialize() { parent::_initialize(); $this->UserVDB = D('Admin.Userview'); }
public function _initialize() { parent::_initialize(); $this->MasterDB = D('Admin.Master'); }
public function _initialize() { parent::_initialize(); $this->AdsDB = D('Admin.Adsense'); }
public function _initialize() { parent::_initialize(); $this->name = "Category"; }
public function _initialize() { parent::_initialize(); $this->LinkDB = D('Admin.Link'); }
public function _initialize() { parent::_initialize(); $this->weiDB = D('Admin.Wei'); }
public function _initialize() { parent::_initialize(); $this->ChannelDB = D('Admin.Channel'); }
public function _initialize() { parent::_initialize(); $this->SlideDB = D('Admin.Slide'); }
public function _initialize() { parent::_initialize(); $this->GbookDB = D('Admin.Gbook'); }
/** * 控制器初始化 * @author Terry <*****@*****.**> * @date 2013-04-18 */ public function _initialize() { parent::_initialize(); }
public function _initialize() { parent::_initialize(); C('TOKEN_ON', true); }
public function _initialize() { parent::_initialize(); $this->CommDB = D('Admin.Comment'); }
public function _initialize() { parent::_initialize(); C('TMPL_FILE_NAME', './views/admin/..'); }
public function _initialize() { parent::_initialize(); //RBAC 验证接口初始化 }
/** * 控制器初始化 * @author Terry <*****@*****.**> * @date 2013-05-13 */ public function _initialize() { parent::_initialize(); $this->name = "Members"; }