Welcome Guest, Not a member yet? Register   Sign In
HTACCESS setEnv doesn't work for all servers

(05-25-2017, 09:24 PM)kilishan Wrote: I just modified the framework to allow the value to be set in a .env file. I also changed the name to CI_ENVIRONMENT for more clarity.

What is the .env file?
I see an env.example file in the repository - but I don't see anything in the CI4 install about how to set that up or anything about it.

Oh, you're right, I forgot to add docs about that part of it there. I'll do that. In the meantime, these docs describe the .env file and its usage. For now:

1. create a new file, .env, in the root directory, right next to the application and system directories.
2. Add the following line:


That's it.

Theme © iAndrew 2016 - Forum software by © MyBB