Welcome Guest, Not a member yet? Register   Sign In
Where should I place the custom user library file in CodeIgniter's directories?
#1

I have a custom user library file in the systems libraries folder of my CodeIgniter installation. However, I'm facing issues when trying to call the user model in the admin directory using fcpath. I've tried using the following code:

$this->CI->load->model(dirname(FCPATH) . '/admin/application/modules/backend/models/user/user_model.php');

Do you have any suggestions to resolve this problem?
Reply


Messages In This Thread
Where should I place the custom user library file in CodeIgniter's directories? - by HramayWasha - 05-31-2023, 11:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB