用户
 找回密码
 入住 CI 中国社区
搜索
查看: 15906|回复: 5
收起左侧

[已解决] CI怎么关闭调试

[复制链接]
发表于 2010-1-21 22:58:46 | 显示全部楼层 |阅读模式
刚做好个网站,准备上传,记得能够关闭调试信息的,就是忘了在哪设置,翻了下手册也没找到,哪位帮帮忙,谢谢了!
发表于 2010-1-22 08:17:10 | 显示全部楼层
$this->output->enable_profiler(FALSE);
在config/databses.php中有$db['default']['db_debug'] = TRUE;设为FALSE
config/config.php中也有相应的错误记录设置$config['log_threshold'] = 2;
发表于 2010-1-22 04:42:42 | 显示全部楼层
config.php
发表于 2010-1-22 09:45:29 | 显示全部楼层
貌似还有index.php的第一行
error_reporting(0);
 楼主| 发表于 2010-1-24 12:57:07 | 显示全部楼层
收到了~
非常感谢
发表于 2015-7-4 09:30:26 | 显示全部楼层
haohailuo 发表于 2010-1-22 08:17
$this->output->enable_profiler(FALSE);
在config/databses.php中有$db['default']['db_debug'] = TRUE;设 ...

我就是这样控制的!{:soso_e100:}

本版积分规则