Manage error display ?

  • Note

    1. in index.php, there is env variable CI_ENV

    
                          define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
                        

    2. add the env variable CI_ENV in .htaccess file

    
                        SetEnv CI_ENV production