Disregarding the question of style/extensibility, is there any discernible
performance hit from using Configure::read() versus a load of constant
DEFINEs in (say) bootstrap.php?
i've always assumed (dangerous, i know) that DEFINEs would be faster than a
method call..?
Howard
On Nov 19, 2007 6:36 PM, chad <[EMAIL PROTECTED]> wrote:
>
> Then to read the variables (or anywhere in your app), use
> Configure::read('Email.from');
>
> Hope that helps!
>
> On Nov 19, 9:28 am, Baz <[EMAIL PROTECTED]> wrote:
> > Use Configure::read() and Configure::write()
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---