• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Route to e.g. MyController, if controller from URI not found

#2
[eluser]Unknown[/eluser]
looks like this is the best option:
Code:
$route['404_override'] = 'legacy';

EDIT: actually, doesn't look like this'll allow me to keep the URI segments... if this is a viable option, is there a way to pass the original URI (or segments) to the 404_override?

EDIT: data still exists in $_SERVER['REQUEST_URI'] - i think this is solved (although feels a bit hacky)


Messages In This Thread
Route to e.g. MyController, if controller from URI not found - by El Forum - 07-19-2011, 06:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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