1、找到includes 文件夹下的 cls_template.php function fetch_str函数
2、只留下以下代码
1 function fetch_str($source) 2 3 { 4 5 if (!defined('ECS_ADMIN')) 6 7 { 8 9 $source = $this->smarty_prefilter_preCompile($source); 10 11 } 12 13 return preg_replace("/{([^\}\{\n]*)}/e", "\$this->select('\\1');", $source); 14 15 }