Welcome Guest, Not a member yet? Register   Sign In
Model in subfolder with same name as model in main folder
#5

Code-igniter maintains its own list of loaded components. But for you can make another folder for access blog_model

$this->load->model('admin/blog_model');

$this->load->model('legacy/blog_model','legacy_blog_model');


If you are use this structure than its working fine.
Reply


Messages In This Thread
RE: Model in subfolder with same name as model in main folder - by XtreemDeveloper - 12-21-2017, 10:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB