tp3.2 页面Windows正常 linux异常,页面找不到

这个问题主要是tp3.2  

在读取控制器里的方法时,会把方法自动转为小写,

然后去对应view成找html文件,自然找不到。

class textController extends ComController
{


    public function helloWorld(){
        $this->display();
//        这个页面就回去Text目录下面找helloworld.html 页面 而不是helloWorld.html

//       应该改为 $this->display('Text/helloworld');
    }
  }

 

posted @ 2018-06-28 09:32  狼人杀  阅读(168)  评论(0编辑  收藏  举报