surfire91 发表于 2010-1-21 22:58:46

CI怎么关闭调试

刚做好个网站,准备上传,记得能够关闭调试信息的,就是忘了在哪设置,翻了下手册也没找到,哪位帮帮忙,谢谢了!

haohailuo 发表于 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;

visvoy 发表于 2010-1-22 04:42:42

config.php

Terryhml 发表于 2010-1-22 09:45:29

貌似还有index.php的第一行
error_reporting(0);

surfire91 发表于 2010-1-24 12:57:07

收到了~
非常感谢

funly 发表于 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:}
页: [1]
查看完整版本: CI怎么关闭调试