• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to edit routes.php?

This is exactly what I am trying to do. However, I am having some trouble.

Do you have to configure your routes.php to forward all routes to the base controller?
$route[':any'] = 'site_migrate';
If I don't perform the above change, then adding /whatever tries to find whatever method.

If I do make that change above, then your code breaks (because it's calling the ruri_string() (which always reports to whatever the base controller that I set up in routes.php).

Am I missing something? Help would be appreciated.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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