Welcome Guest, Not a member yet? Register   Sign In
Routes are conflicting with each other. Is it possible to set priority?
#2

The priority are in what order you specify them. So place it in your priority order.

Code:
$route['fetch/(:any)/(:num)/(:any)'] = 'fetch/$1/$2/$3';
$route['fetch/(:any)/(:any)/(:num)'] = 'fetch/$1/$2/$3';
$route['(:any)/(:any)/(:any)/(:any)'] = 'main/user/$1/$2/$3/$4';
Reply


Messages In This Thread
RE: Routes are conflicting with each other. Is it possible to set priority? - by jreklund - 01-18-2020, 03:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB