• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.