Personnaly, i have created a app.php (where app is the name of my
application) in /app/config/ which store my configuration in an
array,
and i added one simple line in the /app/config/bootstrap.php :
Configure::load('app');
After that you can access configuration variables with
Configure::read('lang') or whatever stored in your array.
On 2 mar, 14:41, "Mech7" <[EMAIL PROTECTED]> wrote:
> Where do you store global configurations.. like things you wan't to
> keep at one place for example admin email, upload path etc..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---