CodeIgniter
CodeIgniter copied to clipboard
CI 3.X Router error on _set_default_controller
The _set_default_controller method requires the default controller to be a maximum two segment rout (i.e. the controller cannot be in a subdir of the 'controllers' path). Resusing the _set_request inside _set_default_controller corrects the problem
This is by design and explained in the manual.