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

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.
Reply


Messages In This Thread
ignore controllers in route config? - by coastalweb - 01-06-2015, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB