why not have two config files? one for production and one for test?
On Nov 21, 5:45 pm, "Ricardo Valfreixo" <[EMAIL PROTECTED]> wrote:
> Hello once more. I'm a real pain, I know..
>
> I have two database settings. one $default and one $production. How can I
> make the code sensitive to the url? I have the php magic system variables
> which I can use, But were, in the code, should I put the "selector"?
>
> Thank you
>
> Zen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---