Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[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');

        $this->messages = array();
        $this->errors = array();
        $this->message_start_delimiter = $this->CI->config->item('message_start_delimiter', 'ion_auth');
        $this->message_end_delimiter   = $this->CI->config->item('message_end_delimiter', 'ion_auth');
        $this->error_start_delimiter   = $this->CI->config->item('error_start_delimiter', 'ion_auth');
        $this->error_end_delimiter     = $this->CI->config->item('error_end_delimiter', 'ion_auth');

        //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();
        }
    }


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 03-01-2011, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB