On Dec 16, 2007 11:21 AM, glastoveteran <[EMAIL PROTECTED]> wrote:
>
> i.e. I have configuration parameters stored in a db table and I want
> to set them as constants at startup time.  My model name is Parameter
> (parameter.php).

Yes, I agree with the other posted suggestions:

1) put in a beforeFilter() method in your app_controller
2) take a look at the Configure class if using 1.2

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

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