示例#1
0
 function __construct()
 {
     global $_M;
     parent::__construct();
     $this->moduleclass = load::mod_class('content/class/sys_product', 'new');
     //
     //$this->shop = load::app_class('shop/admin/class/sys_goods', 'new');
     if (!($this->shop = load::plugin('doproduct_plugin_class', '1'))) {
         $this->shop = load::mod_class('content/class/sys_shop', 'new');
     }
     $this->paraclass = load::mod_class('system/class/sys_para', 'new');
     $this->module = 3;
 }
示例#2
0
文件: admin.class.php 项目: nanfs/lt
 /**
  * 初始化
  */
 public function __construct()
 {
     parent::__construct();
     global $_M;
     met_cooike_start();
     //读取已登陆管理员信息
     $this->load_language();
     //语言加载
     $this->check();
     //验证管理员
     load::plugin('doadmin');
     //插件加载
 }
示例#3
0
文件: web.class.php 项目: nanfs/lt
 /**
  * 初始化
  */
 public function __construct()
 {
     parent::__construct();
     global $_M;
     $this->tem_dir();
     //确定模板根目录
     $this->load_language();
     //语言加载
     //met_cooike_start();//读取已登陆会员信息
     $this->load_publuc_data();
     //加载公共数据
     load::plugin('doweb');
     //加载插件
 }