解决ThinkPHP中开启调试模式无法加载模块的问题。

来源:互联网 发布:如何下载bilbil软件 编辑:程序博客网 时间:2024/05/20 02:52

解决ThinkPHP中开启调试模式无法加载模块的问题。
  1. 刚开始学习ThinkPHP就遇到这种问题,还是自己粗心。

    错误如下:

    原因:开启调试模式,区分大小写的,要把模块名首字母大写就OK了。也就是:

    [plain] view plain copy
    1. http://localhost/php/fanhuar/index/index.php/index/  
    改成:

    [html] view plain copy
    1. http://localhost/php/fanhuar/index/index.php/Index/  
0 0