-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Environment detection #19
Comments
The only detection that happens is for Heroku. It's a bit flimsy actually: $env = $app->detectEnvironment(function() {
// Take care of Heroku deployment for us.
if ($envName = getenv('ENV')) {
return $envName;
}
// Always fall back to local.
return 'local';
}); When deploying to Heroku an environmental variable is created named |
I forgot to mention that technically if you have an environment var named But yes, this should be documented. |
French translation for notifications
You should implement a environment detection or doc it if already exist.
The text was updated successfully, but these errors were encountered: