Need to edit routes.php? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Need to edit routes.php? (/showthread.php?tid=20568) |
Need to edit routes.php? - El Forum - 07-14-2009 [eluser]ainstushar[/eluser] 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? Code: $route[':any'] = 'site_migrate'; 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. Thanks. |