控制器首字母用小写会报错。

浏览:352 发布日期:2014/01/09 分类:求助交流
文件名:showController.class.php

代码namespace HomeController;
use ThinkController;
class showController extends Controller {
    public function index(){
        echo"123";
    }
}



就是用下载里面的默认包,在Index下面新建一样一样的,但是不行。报错
其它什么都没有动过。是不是一定要首字大写?
最佳答案
评论( 相关
后面还有条评论,点击查看>>