Working in a CakePHP project and stucked at a place.
Config/bootstrap.php file
Configure::write('email_info', nehal@connectech.in);
Config/email.php {My custom email class}
class EmailConfig {
public $default = array(
'from' => Configure::read('email_info'),
'reply' => Configure::read('email_info')
);}
I know I can only assigned value of any variable which is outside the class using 'global' keyword, but how do I assign config variable to the value of array member?