On Wed, Jun 16, 2010 at 2:19 PM, Daniel <[email protected]> wrote:
> (..)
> but when i include in my controller a config.php file:
> <?php
> define('EMAIL', '[email protected]');
> ?>
>
> 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', '[email protected]');

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 [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

Reply via email to