• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routing an entire controller

#3
Not likely to happen because it would require scanning php classes to determine which the routes to assign, and that could become a significant performance hit quickly.

However, if you only have one controller you want to do this to, you should be to set the 404Override to point to your controller, and check if the method exists or not in the controller.
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply


Messages In This Thread
Routing an entire controller - by desbest - 08-08-2017, 01:34 AM
RE: Routing an entire controller - by sv3tli0 - 08-08-2017, 05:41 AM
RE: Routing an entire controller - by kilishan - 08-08-2017, 07:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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