Hey,
You can use the Configure class of cakephp to store your settings in
configuration files like cake do for storing its
configurations('config/database.php' , 'config/core.php' etc..).
See the api for the class (located at 'cake/libs/configure.php')for more
details
regards,
Sudhir
RJ wrote:
> In my project , i want some data to be available globally i.e
> informations like smtp-host,application name and several configuration
> settings so that i don't have to hard-code it in my program but
> directly read from the global variable.This would help me when i
> deploy it on client side, i'll just change the global variables and it
> would reflect in my application.
> How to achieve the same in cakephp
>
> Thanks,
> RJ
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---