Codeigniter CIBonfire how to change mode from development to production?
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');