Accessing a controller from a external library file codeigniter <p>I have added a external library controller in "<strong>application/libraries/Validate_login.php</strong>". </p> <p>When i load a controller in <strong>application/controllers/</strong> from external library controller, i'm getting error <code>Library verifylogin Not Found.</code></p> <p>Validate_login.php</p> <pre><code>class Validate_login extends CI_Controller { function __construct() { parent::__construct(); $this-&gt;load-&gt;model('loginuser'); $this-&gt;load-&gt;helper('url'); $this-&gt;load-&gt;library('verifylogin');// controller which is in application/controllers/ } } </code></pre>