我是 CI 的新手,现在我正在尝试使用 CodeIgniter 3 来开发我的网站。我只是提取框架并仅更改 config/autoload.php 文件中的一个想法:
$autoload['libraries'] = array('database','input');
当我运行该站点时,出现错误:
Unable to load the requested class: Input
当我用 CI 版本 2.2.0 稳定版尝试时,一切正常,没有错误 有人可以解释原因并帮助我解决吗?
最佳答案
截至documentation默认加载输入库。
This class (input) is initialized automatically by the system so there is no need to do it manually.
自动加载文档 http://www.codeigniter.com/userguide3/general/autoloader.html
关于php - Codeigniter 3 dev 无法加载请求的类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28095422/