Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED] 'default_controller' vs 'controller in sub-directory'
#4

(01-20-2016, 04:24 AM)josepostiga Wrote: According to http://codeigniter.com/user_guide/general/routing.html, you can't use a directory/controller combination as the default route configuration.

Thank you so much for your answer. Now I got answer for myself. I put 'Main.php' as 'controller/Main.php' and set $route['default_controller'] = 'Main' then I set the redirect to the url I want.

Now you may close this thread Smile

With Best Regards,
Chatawat
Reply


Messages In This Thread
RE: 'default_controller' vs 'controller in sub-directory' - by cloud_live - 01-20-2016, 04:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB