Welcome Guest, Not a member yet? Register   Sign In
Environment affecting the configuration files in CLI mode
#8

Oops. I got a problem.

If my intention of using DotEnv is to replace the functionality of SetEnv in Apache and to alter the ENVIRONMENT constant, then it will be useless.

The library is also relying on the ENVIRONMENT constant (like .env.development, .env.testing, .env.production). If I will use DotEnv to use this:
PHP Code:
define('ENVIRONMENT'getenv('ENVIRONMENT')) 
it will be useless. Sad
Reply


Messages In This Thread
RE: Environment affecting the configuration files in CLI mode - by kaitenz - 07-17-2018, 02:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB