Welcome Guest, Not a member yet? Register   Sign In
ignore controllers in route config?

Hi guys, l currently have something very similar at the end of my routes file:

$route['^(?!ignore)(?!these)(?!controllers)(:any)'] = 'pages/view/$1';

But my list is much longer... my question is, is there a more elegant solution to list out the controllers l want "ignored"? Because my list is about 10 or 20 deep.

Theme © iAndrew 2016 - Forum software by © MyBB