【发布时间】:2013-06-10 01:13:19
【问题描述】:
我正在使用 CIBonfire 创建我的第一个应用程序,我已准备好将其推送到生产环境,但我不确定如何将模式从开发更改为生产,以便它不会显示分析器中的内容页脚。
我无法在任何设置菜单或文档中找到它。任何帮助表示赞赏。
【问题讨论】:
-
有点奇怪但是,
$this->output->enable_profiler(FALSE);? -
我认为它在
index.php文件中 -
ye,
define('ENVIRONMENT', 'production');in index.php
标签: php codeigniter codeigniter-2 bonfire