CI加载model的问题

1.需求

CI在linux上无法加载model

2.原因

因为linux区分大小写,且model文件名首字符要大写。

As said in the comments : Your model's filename must start with an uppercase. In your case, Ion_auth_model.php.

参考资料:http://stackoverflow.com/questions/28506163/troubleshooting-codeigniter-unable-to-locate-the-model-you-have-specified-e

posted @ 2017-01-06 17:08  layfork  阅读(946)  评论(0编辑  收藏  举报