Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
route to multiple sub folders in codeigniter using -'php,codeigniter,routes,codeigniter-url,codeigniter-2'
route to multiple sub folders in codeigniter ¬†using -'php,codeigniter,routes,codeigniter-url,codeigniter-2'
I have a admin folder set up in my controllers directory, under that i have 3 seperate sub-folders with controllers inside of them.
I tried routing it in the routes.php file like this
$route['admin/(:any)/(:any)'] = 'admin/$1/$2';
$route['admin/(:any)'] = 'admin/$1/$1';
$route['admin'] = 'admin/index';
What do I do to fix this?
Sep 7, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please