Cat*_*ish 4 php codeigniter codeigniter-2 bonfire
我正在使用CIBonfire创建我的第一个应用程序,我已准备好将其推向生产,但我不确定如何将模式从开发更改为生产,以便它不会在页脚中显示探查器内容.
我无法在任何设置菜单或文档中找到它.任何帮助表示赞赏.
在您index.php的CI-Bonfire中的文件中.你可以在这里找到这个地方,只需define('ENVIRONMENT', 'development')改成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');
Run Code Online (Sandbox Code Playgroud)