[eluser]Wayne Smallman[/eluser]
[quote author="Ben Edmunds" date="1299031750"]Post the Ion Auth library constructor, after you changed the paths. And a screenshot of your directory structure.[/quote]I've attached a screen shot to my previous post, but I've had to shrink the whole thing, because of the attachment size limitations.
Here's the constructor for your library file:
Code:
public function __construct() {
$this->CI =& get_instance();
$this->CI->load->config('users/ion_auth', TRUE);
$this->CI->load->library('email');
$this->CI->load->library('session');
$this->CI->lang->load('users/ion_auth');
$this->CI->load->model('users/ion_auth_model');
$this->CI->load->helper('cookie');
//auto-login the user if they are remembered
if (!$this->logged_in() && get_cookie('identity') && get_cookie('remember_code'))
{
$this->CI->ion_auth_model->login_remembered_user();
}
}