码迷,mamicode.com
首页 > 其他好文 > 详细

CI加载model的问题

时间:2017-01-06 22:23:12      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:with   加载   lin   oca   大小写   nts   参考   tar   case   

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

CI加载model的问题

标签:with   加载   lin   oca   大小写   nts   参考   tar   case   

原文地址:http://www.cnblogs.com/norm/p/6257018.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!