Welcome Guest, Not a member yet? Register   Sign In
How to get Default Controller ?

Hi at all,

I thinks it's an easy question but can't find the answer ?
I want to redirect to the default controller defined in $route['default_controller'] but I don't know how to have access to this data ?


Generally, your default controller is used for an empty route, so you would use redirect(). If you want it to use the default controller inside a directory, you have to use a URI that maps to that directory.

Theme © iAndrew 2016 - Forum software by © MyBB