Welcome Guest, Not a member yet? Register   Sign In
enable users to define their own routes
#3

(08-16-2020, 07:16 AM)jreklund Wrote: You can map an entire array in CI4 as well.
https://codeigniter.com/user_guide/incom...ple-routes

But you need to write your own code get it there. Depending on how you do it, that can be a security risk, if you allow them to manipulate it without validation.

Thank you. So basically I can use the same Routes.php from CI3, I just need to load it and map it in CI4. Can you suggest the best place to store that PHP array file in CI4 for structure?
Reply


Messages In This Thread
RE: enable users to define their own routes - by sogrbilja - 08-16-2020, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB