Welcome Guest, Not a member yet? Register   Sign In
External email config file not used if Email class is extended
#1

[eluser]Mitchell[/eluser]
The email class configuration can be set by adding a /config/email.php file with an array $config[]. However, if the Email class is extended (MY_email.php), then the configuration array is not used.

I have not been able to determine the root cause, but with no email extended class, Email.php function CI_Email() will be passed the correct $config array. With the email class extended, the $config array passed to CI_Email is null.
#2

[eluser]tomcode[/eluser]
edit ; forget it, I was wrong




Theme © iAndrew 2016 - Forum software by © MyBB