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

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 ?

Thanks
Reply
#2

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB