Your best bet is to probably set a constant in the bootstrap.php file.

On Jul 15, 11:39 pm, RJ <[EMAIL PROTECTED]> 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 cake-php@googlegroups.com
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