Great, thanks Piotr and Dr, that was what I was after! Toby
On Jul 21, 3:37 pm, "Dr. Loboto" <[email protected]> wrote: > In model: $this->getDataSource()->config['host'] > > On Jul 21, 7:15 pm, toby1kenobi <[email protected]> wrote: > > > Hi there, > > > Is is possible to read the current database host programmatically > > (i.e. the value of $default['host'] from database.php)? > > > Thanks, > > > Toby > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
