diff options
author | admin <devnull@localhost> | 2006-09-26 20:17:19 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-26 20:17:19 +0200 |
commit | 41a1685573aa0ede15a9bf7b373c36a0406fb19d (patch) | |
tree | 468a2dc35ae91f3450b99fb0c853284877c0cf28 /system/libraries/Email.php | |
parent | f0839f3bb0fc8b13a1d9b64ed4a7ff86147be9ae (diff) |
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r-- | system/libraries/Email.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index c9b9365ec..fd3fb8f17 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -15,8 +15,14 @@ // INITIALIZE THE CLASS --------------------------------------------------- +$config = array(); +if (file_exists(APPPATH.'config/email'.EXT)) +{ + include_once(APPPATH.'config/email'.EXT); +} + $obj =& get_instance(); -$obj->init_class('CI_Email'); +$obj->init_class('CI_Email', 'email', $config); // ------------------------------------------------------------------------ |