How about: Configure::write(array( 'Email' => array( 'Subject' => array( 'RegActivationMessage' => 'Activate your CueRoom Account' ), 'contactAddress' => '[email protected]', 'defaultFrom' => '[email protected]', 'defaultLayout' => 'default', 'defaultSendAs' => 'text' )));
And your config.php does not look like that, right? You do have the php tags there? On Jun 4, 10:27 am, lakers fan <[email protected]> wrote: > Hello, > > I have some variables defined in config.php under /cake/app/config. I > have also included require_once('config.php'); in bootstrap.php. But the > variables that I defined is not working in my user controller.. The following > returns an empty string.. > > Configure::read('Email.defaultSendAs'). > > my config.php looks like this > > Configure::write(array( > 'Email' => array( > 'Subject' => array( > 'RegActivationMessage' => 'Activate your CueRoom Account' > ), > 'contactAddress' => [email protected]', > 'defaultFrom' => '[email protected]', > 'defaultLayout' => 'default', > 'defaultSendAs' => 'text' > > ) > > Thanks, > > Bharani > > _________________________________________________________________ > Insert movie times and more without leaving > Hotmail®.http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
