public function index()
{
$tpl = TMPL_PATH.GROUP_NAME.'/Default/'.MODULE_NAME.'_index.html';//THEME_PATH.MODULE_NAME.'_index.html'
echo THEME_PATH.THEME_NAME;
$template = file_exists($tpl) ? 'index' : './Content_index';
$this->_list(MODULE_NAME);
$this->display ($template);
}页面上直接把THEME_PATH,THEME_NAME 原样输出! 最佳答案