CodeIgniter Archives - 7-Views

How to use a sub folder in default controller route in CodeIgniter 3

Posted by
January 22, 2019

While setting $route[‘default_controller’] without subdirectory it is working but I wanted to change it inside subdirectory and it’s not working. Here is the solution to the issue. Please create a file in the insideapplication/core directory. the file name would be┬áMY_Router.php paste the following content inside the file “MY_Router.php”, it will work like a charm.   […]

read more