problem description:
i have a symfony app with multiple databases.
every client has his own database, these are configured in the
schema.yml file.
now if a user logs in, the related database should automatically be
loaded.
my Question:
is there a way to set a default database in the login process so i
don't need to call the parameter
Propel::getConnection('slave') in $articles =
ArticlePeer::doSelect($c, Propel::getConnection('slave'));
every time?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---