Welcome Guest, Not a member yet? Register   Sign In
Undefined Variable: Config
#2

[eluser]n0xie[/eluser]
When setting up a email config file you do not need to load it manually:
Quote:http://ellislab.com/codeigniter/user-gui...email.html
Setting Email Preferences in a Config File

If you prefer not to set preferences using the above method, you can instead put them into a config file. Simply create a new file called the email.php, add the $config array in that file. Then save the file at config/email.php and it will be used automatically. You will NOT need to use the $this->email->initialize() function if you save your preferences in a config file.

This should work just fine:
Code:
$this->load->library('email');


Messages In This Thread
Undefined Variable: Config - by El Forum - 10-14-2009, 04:34 PM
Undefined Variable: Config - by El Forum - 10-14-2009, 05:32 PM
Undefined Variable: Config - by El Forum - 10-15-2009, 12:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB