刚刚 学thinkphp 在输出模板的时候 就报错了
inkPHP3.1.3 { Fast & Simple OOP PHP fr
amework } -- [ WE CAN DO IT JUST THINK ]
不加$this->display(); 就没有问题
代码是:
class IndexAction extends Action {
public function index(){
$this->display();
}
}
在Tpl 里面 也有这个 index.html 文件 请问怎么解决