dedecms 模板中解析php代码

找到include下的dedetag.class.php中寻找
function Display()这个方法
其中内容更改为
@eval('?>' .$this->GetResult());//添加代码
//echo $this->GetResult();
便可解析
相关文章
相关标签/搜索