My goal is to put e.g. USERNAME before all other routes like this:
https://my.exaple.com/USERNAME/controller/function/val1/val2
My site is already running with aprox 50 routes. I know i have to put into routes.php something like this:
$route[(:any)/controller]
but that means rewrite all redirects in controllers.
I would not like to rewrite them, to add this quite small feature.
Is possible to pass this parameter somehow dynamically, so I would have not to change all my controllers?