一、直接在控制器里面自定义一个普通函数 <?php include_once("libs/Smarty.class.php"); // 包含smarty类文件 include_once("libs/Sm 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交