我正在使用创建我的第一个应用程序CI篝火 http://cibonfire.com我已准备好将其投入生产,但我不确定如何将模式从开发更改为生产,以便它不会在页脚中显示分析器内容。
我无法在任何设置菜单或文档中找到它。任何帮助表示赞赏。
In your index.php
文件在你的 CI-Bonfire 中。你可以在这里找到这个位置,只需更改define('ENVIRONMENT', 'development')
into define('ENVIRONMENT', 'production')
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging and error reporting.
*
* This can be set to anything, but default usage is:
*
* development
* testing
* production
*
* NOTE: If you change these, also change the error_reporting() code below
*
*/
define('ENVIRONMENT', 'production');
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)