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

Documentation Unclear #10

Open
bmeynell opened this issue Dec 3, 2013 · 1 comment
Open

Documentation Unclear #10

bmeynell opened this issue Dec 3, 2013 · 1 comment

Comments

@bmeynell
Copy link

bmeynell commented Dec 3, 2013

How would one, for example, dynamically override the session.cookie_domain parameter in FrameworkBundle based on the domain of the incoming request?

@bmeynell
Copy link
Author

This is a similar question to #6 but I don't know if the answer, "Config processing is handled by each bundle..." is appropriate. We want to override parameters.yml values at runtime. In our case it happens to be based on the incoming host header (this is for a multi-tenant app). Another way to achieve this, and how we currently are, is to have a separate container compiled for each parameters.yml variation. We maintain a host-specific parameters.yml (that we merge with our base parameters.yml) that ultimately provides a customized multi-tenant experience. For example, siteX and siteY both have their specific twitter, facebook, etc., oauth credentials. We'd rather just pull these from a more reliable persistent store (e.g., a database) at runtime. If this is not possible, or applicable to this bundle, this issue can be closed.

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