Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Sub folder controller error #1306
i have a controller named pages in admin folder.
when i try to echo id number "1" in admin/pages/delete/1 , it echo "delete" not "1"
** using latest CI dev
please check this line. the cause
// This is being routed to a file in a sub directory
I can confirm that this is an issue on the latest dev commit.
@philsturgeon looks to have committed this. And I have to be honest, I've never seen that kind of syntax since working with PHP. Is this an error, Phil? Can you explain what's up with the
The problem here is coming from Phil's solution to issue #122 regarding the
But, obviously, that's bad. Looks like the
Although if we wanted to get even more complicated, CodeIgniter is still limited to only a single subfolder in the controllers directory. If it was to move beyond that, a LOT of the routing and URI code would need modification.