On Wed, Jun 16, 2010 at 2:19 PM, Daniel <daniel.g...@gmail.com> wrote:
> (..)
> but when i include in my controller a config.php file:
> <?php
> define('EMAIL', 'exam...@domain.com');
> ?>
>
> and try to use EMAIL to set the destination, it doesn't work :-(.

Not sure, but maybe you should try this:

!defined('EMAIL') && define('EMAIL', 'exam...@domain.com');

Or even define constants in your bootstrap.php.

Atts.

-- 
MARCELO F ANDRADE
Belem, Amazonia, Brazil

"I took the red pill"

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

Reply via email to