You can use Configure class for Your need, ie in Your bootstrap.php 
call

Configure::write('App.varOne', array('someKey' => 'someValue'));
Configure::write('App.varTwo', true);
Configure::write('App.varThree', 159);

and somewhere in Your code You can call

$app_config = Configure::read('App');

or

$app_var_two = Configure::read('App.varTwo');


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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