Thursday, July 29, 2010

Re: Best place to put constants?

Thanks! Yeah I thought that bootstrap could be for that, thanks!

2010/7/27 Dr. Loboto <drloboto@gmail.com>:
> bootstrap.php is for this purpose. Other files may be needed too if
> you need to setup a lot of data.
> Better do not touch core.php with custom variable set as it may change
> with Cake update and yours code there may make this update harder.
>
> On Jul 28, 1:15 am, Hugo M <ham1...@gmail.com> wrote:
>> Hi all! What is the best place to put configuration variables (like
>> Configure::write('bla', 'bla2'))? I'm doing that in core.php
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: