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

Cannot use domain names for environment detection. #2

Open
rquadling opened this issue Apr 20, 2014 · 0 comments
Open

Cannot use domain names for environment detection. #2

rquadling opened this issue Apr 20, 2014 · 0 comments

Comments

@rquadling
Copy link

Environment detection can no longer use domain names due to the ease of spoofing.

So the detection has to be handled by the developer, rather than the framework.

Using a closure in the $env = $app->detectEnvironment() call is supported allowing the developer to determine which environment is to handle the request.

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

1 participant