Welcome Guest, Not a member yet? Register   Sign In
default_controller not working as I expected
#1

Hi, I'm having some trouble understanding a problem with my routes.php config. The current working route
PHP Code:
$route['default_controller'] = 'welcome'
works fine, but when I change it to
PHP Code:
$route['default_controller'] = 'admin/user/login'
I get a 404. if I go to my virtual hosts http://cms.dev/admin/user/login though, the page is displayed as expected. What's happening?

Thanks.
Reply


Messages In This Thread
default_controller not working as I expected - by n2fole00 - 03-12-2016, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB