使用 $this->display(); 就报错

浏览:1549 发布日期:2014/07/25 分类:求助交流
刚刚 学thinkphp 在输出模板的时候 就报错了

inkPHP3.1.3 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]

不加$this->display(); 就没有问题

代码是:
class IndexAction extends Action {
public function index(){
$this->display();
}
}

在Tpl 里面 也有这个 index.html 文件 请问怎么解决
最佳答案
评论( 相关
后面还有条评论,点击查看>>