On Jun 18, 7:49 am, Narendra Padala <[email protected]> wrote: > Sir why it will not work "constant" variable declared in core.php file, for > themes, why i am going for Configure::write('xxx', 'blue'); , > Configure::read('xxx') and bootstrap.php, is there any reason to go for > this. Let me know?
It will work. I would rather not do that myself because I prefer not to create new constants when I have the Configure class available. Whichever way that one chooses, it is recommended that we do this sort of thing in bootstrap, rather than core, though. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
