function __construct() { parent::__construct(); if ($this->tpl == '') { $this->tpl = bpBase::loadAppClass('template', 'template', 1); } }
function __construct() { //$this->update_log_db = bpBase::loadModel('update_log_model'); parent::__construct(); $checkAccess = $this->exitWithoutAccess('system', 'manage'); $this->dbConfig = array('default' => array('hostname' => DB_HOSTNAME, 'database' => DB_NAME, 'username' => DB_USER, 'password' => DB_PASSWORD, 'tablepre' => TABLE_PREFIX, 'charset' => DB_CHARSET, 'type' => 'mysql', 'debug' => DEBUG, 'pconnect' => 0, 'autoconnect' => 0)); bpBase::loadSysClass('db_factory'); $this->db = db_factory::get_instance($this->dbConfig)->get_database('default'); }
function __construct() { $this->update_log_db = bpBase::loadModel('update_log_model'); parent::__construct(); $this->exitWithoutAccess(); if ($this->updateArr == '') { include 'updateFile' . DIRECTORY_SEPARATOR . 'list.php'; $this->updateArr = $update_arr; } }
function __construct() { parent::__construct(); $this->exitWithoutAccess(); $this->channel_db = bpBase::loadModel('channel_model'); $this->channelObj = bpBase::loadAppClass('channelObj', 'channel'); if (isset($_GET['siteid']) && $_GET['siteid'] != $this->siteid) { exit; } }
function __construct() { parent::__construct(); $this->exitWithoutAccess('template','manage'); $this->template_db = bpBase::loadModel('template_model'); $this->templateClass=bpBase::loadAppClass('template','template'); $this->cats=$this->templateClass->cats(); if (isset($_GET['siteid'])&&intval($_GET['siteid'])!=$this->siteid){ exit(); } }
function __construct() { $this->article_db = bpBase::loadModel('article_model'); $this->content_db = bpBase::loadModel('content_model'); $this->articleObj = bpBase::loadAppClass('articleObj', 'article'); parent::__construct(); $this->exitWithoutAccess(); if (isset($_GET['site']) && $_GET['site'] != $this->siteid) { exit; } }
function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->menus = $this->menus(); }
function __construct() { $this->update_log_db = bpBase::loadModel('update_log_model'); parent::__construct(); $this->exitWithoutAccess(); }
function __construct() { parent::__construct(); $this->exitWithoutAccess('system', 'manage'); }
function __construct() { parent::__construct(); $this->exitWithoutAccess(); }