Guys I have two database servers.
192.168.1.1 -- db1
192.168.1.2 -- db2
My database.php configuration is..
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => '192.168.1.1',
'login' => 'one',
'password' => 'one',
'database' => 'one',
'prefix' => '',
);
var $pdfproofing = array(
'driver' => 'mysql',
'persistent' => false,
'host' => '192.168.10.2',
'login' => 'two',
'password' => 'two,
'database' => 'two',
'prefix' => '',
);
How can I access $pdfproofing on my model and controller?
--
Louie Miranda ([email protected])
http://www.louiemiranda.net
Quality Web Hosting - www.axishift.com
Pinoy Web Hosting, Web Hosting Philippines
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---