• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setDefaultController

#1
Can i user DefaultControlle in subfolder like $routes->setDefaultController('Frontend/Home');
Reply

#2
I'm afraid that's not how it works. You put Home as the name, and it will look for all Home controllers in e.g:
Frontend/Home
Backend/Home
Folder/Home

If you just specify /frontend, /backend, or /folder in your URI.

https://codeigniter.com/user_guide/incom...irectories
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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