Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config Unexpectedly Being Overwritten by $_ENV variable #853

Closed
daylightstudio opened this issue Dec 5, 2017 · 2 comments
Closed

Config Unexpectedly Being Overwritten by $_ENV variable #853

daylightstudio opened this issue Dec 5, 2017 · 2 comments

Comments

@daylightstudio
Copy link
Contributor

In my setup, I apparently have a generic $_ENV['PATH'] variable that's being set automatically. This is causing problems with the Cache::$path variable and is overwriting the default value which is what I want. This seems like it may be a common issue for folks since the default in the getEnvValue method doesn't have any namespacing/prefix. A work around for me was to set a "cache.path" in my .env.

@zl59503020
Copy link
Contributor

zl59503020 commented Dec 11, 2017

Me too, in the windows environment.
In the absence of any. Env installed in the windows environment will appear unresponsive.
http://php.net/manual/zh/function.getenv.php#99134

@lonnieezell
Copy link
Member

Fixed with e83d18f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants