/** * 构造函数 * @author repheal * @category hogesoft * @copyright hogesoft * @include client.class.php */ public function __construct() { parent::__construct(); include CUR_CONF_PATH . "lib/common.php"; include CUR_CONF_PATH . 'lib/client.class.php'; $this->obj = new client(); }
/** * 构造函数 * @author repheal * @category hogesoft * @copyright hogesoft * @include site.class.php */ public function __construct() { parent::__construct(); include CUR_CONF_PATH . "lib/common.php"; include CUR_CONF_PATH . 'lib/site.class.php'; $this->obj = new site(); $this->pub_cms = new publishcms(); $this->pub_content = new publishcontent(); }
/** * 构造函数 * @author repheal * @category hogesoft * @copyright hogesoft * @include site.class.php */ public function __construct() { parent::__construct(); include CUR_CONF_PATH . "lib/common.php"; include CUR_CONF_PATH . 'lib/column.class.php'; $this->obj = new column(); include CUR_CONF_PATH . 'lib/column_node.class.php'; $this->col_node = new column_node(); include ROOT_PATH . 'lib/class/material.class.php'; $this->material = new material(); $this->pub_content = new publishcontent(); $this->pub_sys = new publishsys(); $this->pub_cms = new publishcms(); //如果是从部署那边来访问,则切换input值 if (!empty($this->input['pub_input'])) { $this->input = $this->input['pub_input']; } }