• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.