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_Tutorial_QuickAdd_062009
--~--~---------~--~----~------------~-------~--~----~
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