[Solar-talk] Connecting to two databases
Rapoport, Aaron
Aaron.Rapoport at gd-ais.com
Tue Apr 1 12:13:46 CDT 2008
Hi,
im using SOLAR in a php script that connects to two databases. SOLAR
seems to specifically reference a class named sql in the registry from
the Model,
so ive declared the following for one database connection.
if (Solar_Registry::exists('sql') == false)
{
Solar_Registry::set('sql', 'Solar_Sql', $config);
}
how would i set up for the second connection? If this has been covered
in a previous thread,
would appreciate any references.
Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-talk/attachments/20080401/4fa63c42/attachment.html
More information about the Solar-talk
mailing list