> I'm currently also using a seperate file to store the configuration.
> But I would prefer to store it in my database.
>
> Where is the best place to query the database for the settings? When
> the bootstrap.php is executed, the models are not yet available. Do I
> have to use beforeFilter in every controller to query the database? Or
> is there a better way?

this might help...

http://bakery.cakephp.org/articles/view/confcomponent-db-based-configuration

jb


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to