CodeIgniter undefined variable $config
<pre><code>function index()
{
$this-&gt;load-&gt;library('email',$config);
}
</code></pre>

<p>I have work with Codeigniter mail class and i got undefined variable error.</p>
