修改Smarty\libs\plugins\modifier.truncate.php文件为 function smarty_modifier_truncate($string, $length = 80, $etc = ‘…’,$break_words = false) {     if ($length == 0)      ...