added note about routing

World Wide Web Server 2012-07-04 16:05:03 -07:00
parent 6783365353
commit ddb5d9ff9f

@ -108,6 +108,6 @@ class Site_migrate extends Site_migrate_base {
Routes:
This is not required, but if you want to remove the site_migrate string from the URI, you can use routes. You can use the following "catchall" route to send all URIs to the site_migrate controller. Other routing techniques are discussed in the forum thread attached to this wiki page.
NOTE: if you use this "catchall" route, be careful because it routes EVERYTHING into the site_migrate controller!
NOTE: if you use this "catchall" route, be careful because it routes EVERYTHING into the site_migrate controller! see [url=http://codeigniter.com/forums/viewthread/155803/]this thread where a chdir error was being thrown[/url] when the dev using site_migrate made a separate, new controller outside of site_migrate but forgot about the catchall.
[code]$route['(:any)'] = 'site_migrate/$1';[/code]