-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default_controller is not working when enable_query_strings is enabled #28
Comments
And I researched about the source code, in the system/core/Router.php, the _set_rouing() function,
/***************************
Now I fix it like this, although it's not elegant:
|
When you set $config['enable_query_strings'] = TRUE; in config/config.php
Then your default_controller will not work, even you've set these parameters.
$route['default_controller'] = 'home';
$route['404_override'] = '';
The text was updated successfully, but these errors were encountered: