public function __construct()
 {
     C('IS_LAYOUT', true);
     C('TMPL_ENGINE_TYPE', 'PHP');
     \Common\Cls\CommCls::_setPlgStatic();
     parent::__construct();
 }
 public function __construct()
 {
     $tmpl_path = 'Template/Plugin/';
     define('TMPL_PATH', $tmpl_path);
     parent::__construct();
     \Common\Cls\CommCls::_setPlgStatic();
     $this->assign('site_tmpl', $this->site_tmpl);
 }