CodeIgniter 3-为什么我的应用程序连接到我的数据库而不将其加载到任何地方?
,我已经在自动加载中评论了数据库
请参阅此信息 ');
$ autoLoad ['libraries'] = array('session','template','commun','form_validation');
>
See this, i have commented database in autoload but it still connecting anyway...
//$autoload['libraries'] = array('session','database','template','commun','form_validation');
$autoload['libraries'] = array('session','template','commun','form_validation');
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着您在每个控制器中调用数据库
that mean you are calling database in every controller