Welcome Guest, Not a member yet? Register   Sign In
CI_ENVIROMENT not working
#2

(11-09-2018, 05:55 AM)Perhood Wrote: I'm using the new alpha 2, and I set the CI_ENVIROMENT to development in the .env and public/.htaccess and I still get the 'Whoops' message and not whats wrong on my code.
Do I have to change anything else to let codeigniter show me the errors

I just configure this in my .env file and don't change anything in the public/.htaccess


Code:
CI_ENVIRONMENT = development
app.baseURL = 'http://myapplication.test/

I did notice that both in your subject and your comment you state CI_ENVIROMENT which is incorrect it is CI_ENVIRONMENT
Also make sure that your env file is moved to .env as codeigniter supplies you with an env file as a template but needs to be copied / moved to .env

Hope this helps.
Reply


Messages In This Thread
CI_ENVIROMENT not working - by Perhood - 11-09-2018, 05:55 AM
RE: CI_ENVIROMENT not working - by devzeroized - 11-15-2018, 01:47 PM
RE: CI_ENVIROMENT not working - by lvp - 11-25-2018, 01:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB