CodeIgniter Forums
CI3 routing on case-sensitive filesystem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: CI3 routing on case-sensitive filesystem (/showthread.php?tid=61817)



CI3 routing on case-sensitive filesystem - gdhnz - 05-20-2015

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.



RE: CI3 routing on case-sensitive filesystem - gdhnz - 05-21-2015

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.