CodeIgniter: Weird echo of $config coming back when I load Email Library

Posted by k00k on Stack Overflow See other posts from Stack Overflow or by k00k
Published on 2010-04-27T20:21:21Z Indexed on 2010/04/27 20:23 UTC
Read the original article Hit count: 242

Filed under:
|
|
|
|

Version info: CI version 1.7.2 - PHP 5.3.1 - Apache2 - Mac OSX 10.6.3

For some reason, when I load CI's email library, either in my controller, or in autoload.php, it automatically and immediately echoes the config info like so:

$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE

If I autoload the email library in autoload.php, it is echoed before anything else in my source/page. If I call it explicitly within my controller, it's echoed at that exact point.

I'm stumped, never seen that before. Any ideas on how to surpress/eliminate?

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about php