@haseydesign: thanx for the clean code and nice work.
For testing purposes i installed the demo version of your library (xampp). It works fine, but now i'm facing following error, if i want to visit the "Lite library"-Site as "Public"-User:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: upro_first_name
Filename: controllers/auth_lite.php
Line Number: 77
A PHP Error was encountered
Severity: Notice
Message: Undefined index: upro_last_name
Filename: controllers/auth_lite.php
Line Number: 77
A PHP Error was encountered
Severity: Notice
Message: Undefined index: upro_phone
Filename: controllers/auth_lite.php
Line Number: 78
Its the following code:
$user = $this->flexi_auth->get_user_by_id_row_array();
$this->data['user_full_name'] = (!empty($user)) ? $user['upro_first_name'].' '.$user['upro_last_name'] : null;
$this->data['user_phone'] =(!empty($user)) ? $user['upro_phone'] : null;
Where i couldn't find the 'get_user_by_id_row_array'-function? Am i missing something or should i clean my glasses?