Codeigniter CIBonfire how to change mode from development to production?

寵の児 提交于 2019-12-05 17:04:34

In your index.php file in your CI-Bonfire. you can find this spot here, just change the 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');
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!