https://www.codeigniter.com/user_guide/g...uting.html
On this page you can read:
https://www.codeigniter.com/user_guide/t...ction.html
On this page you have this example:
$route['default_controller'] is a reserved route if I understand the documentation correctly.
Regards
Gerald
On this page you can read:
Quote:Important
The reserved routes must come before any wildcard or regular expression routes.
https://www.codeigniter.com/user_guide/t...ction.html
On this page you have this example:
Code:
$route['news/(:any)'] = 'news/view/$1';
$route['news'] = 'news';
$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/view';$route['default_controller'] is a reserved route if I understand the documentation correctly.
Regards
Gerald