I just need a simpler approach. I'm using the 1.0 branch. Isn't there any
other way to override what's in the databases.yml globally? I mean if I
change the dsn paramater it would be using it for the entire time?


On Tue, Dec 9, 2008 at 4:19 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> Look at the ysfDimensionPlugin plugin.
>
> Michael
>
>
>
> On 9 Dez., 08:35, "Ridvan Lakas ng Bayan S. Baluyos"
> <[EMAIL PROTECTED]> wrote:
> > Hi list,
> >
> > This is what I wanted to do. I want my application to dynamically change
> the
> > database connection parameters in the database.yml based from the URL.
> Does
> > anyone know how to do it? I badly need a solution for this.
> >
> > Like for example:www.app1.com-> this will connect to
> database1www.app2.com-> this will connect to database2www.app(n).com->
> connects to database(n)
> >
> > Thanks in advance,
> >
> > Ridvan
> >
> > --
> > リヅバン バルヨス
> > [EMAIL PROTECTED]://ridvan.baluyos.nethttp://
> www.onxiam.com/people/rbaluyos
> >
> > Registered Linux User #439466
> > Registered Ubuntu User #16034
> > Q: Have you heard of the Object-Oriented way to get wealthy?
> > A: Inheritance.
> >
>


-- 
リヅバン バルヨス
[EMAIL PROTECTED]
http://ridvan.baluyos.net
http://www.onxiam.com/people/rbaluyos

Registered Linux User #439466
Registered Ubuntu User #16034
Q: Have you heard of the Object-Oriented way to get wealthy?
A: Inheritance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to