[eluser]Ian Beck[/eluser]
I just need some help figuring out how to debug a problem I'm having.
I'm running Matchbox to enable modules using PHP 4. For my main site, I'm using my own custom URI layout by utilizing _remap. In the admin area, however, I'm relying on the standard CI URI mapping. I have the following route defined in the routes.php config:
Code:
$route['admin/gallery/(.*)'] = 'gallery/admin/$1';
The edit method of the gallery/admin (that is gallery module and admin controller) accepts an ID.
When I visit the URL 'site.com/admin/gallery/edit/1/' the edit method is called as I would expect, but instead of passing '1' as the ID, 'edit' is passed. Particularly bizarre is that the routing for the standard admin area works perfectly.
Any ideas what might be causing this or how I can debug it? I haven't had any luck so far.