Welcome Guest, Not a member yet? Register   Sign In
Using variables as the controller name for routes
#7

I don’t understand why you’re talking about a single controller that loads every library at once like it’s the only way to do it!
Create all the controllers you need, load only the library you need, then define your routes accordingly or just enable auto-route.

Maybe you just need to read a little more of the user guide or some tutorials. Because CI4 doesn’t have the limitations you think it has.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: Using variables as the controller name for routes - by includebeer - 06-19-2021, 09:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB