I just started with Symfony2, so I'm still a very noob.
I need to load a configuration file (yml) based on either a request uri or a specific route.
eg
/{dynamicroute}
should load dynamicroute.yml
and
/{anotherdynamicroute}
should load anotherdynamicroute.yml
(hope this makes sense)
UPDATE
I basically want this:
We have one backend system that all our customers can enter. From there, they can set up facebook applications. I use FOSFacebookBundle so that users can connect to facebook. FOSFacebookBundle requires facebook settings to be set in config.yml, but since we have several facebook applications running on the same system, I cannot set facebook settings in config.yml.
, , .
, , :
public function indexAction($client_id)
{
, , yml facebook , facebook FOSFacebookBundle