• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.