Welcome Guest, Not a member yet? Register   Sign In
getting the default route?

Is there a way to get $route['default_controller'] into a model...

So I don't have to set my own for this script im working on.

You can access it using:

But where do you need it for? You shouldn't mess around with routing in your model...

it's for my authentication module. Which upon loging in would redirect you to the proper controller.

Theme © iAndrew 2016 - Forum software by © MyBB