Welcome Guest, Not a member yet? Register   Sign In
CI3 routing on case-sensitive filesystem
#1

Hi,

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

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




Theme © iAndrew 2016 - Forum software by © MyBB