CodeIgniter Forums

Full Version: CI3 routing on case-sensitive filesystem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I've got a couple of issue regarding routing in CI3 for my app.
  1. Routing is not working as expected for my on a case-sensitive filesystem after the ucfirst changes to filenames for controllers. Unless I add something like $route['process'] = "Process"; to my routes.php, then it will always use what I have set in the default_controller.

  2. When entering a url for a controller that doesn't exist, I get the default_controller instead of the default error page. This happens on case-sensitive and case-insensitive file systems.
Fixed my issue. I forgot I had overridden the CI_Router.php when I was using CI2. I just removed it and everything works as it should in CI3.