moholh
(Moholh2011)
1
Hi
here is my problem:
in my main application I have :
‘Smtpmail’=>array(
'class'=>'application.extensions.smtpmail.PHPMailer',
'Host'=>'webinnov.ma',
'Username'=>'mail@webinnov.ma',
'Password'=>'m@web29052016',
'Mailer'=>'smtp',
'Port'=>26,
'SMTPAuth'=>true, ),
),
but I want those parametres to be dynamics and have possibility to chane it from my controler
Is there any solution to change default parametres in main config from contoller
Hi,
I hope it help you
http://www.yiiframework.com/forum/index.php/topic/36716-change-extension-configuration-on-the-fly/