Welcome Guest, Not a member yet? Register   Sign In
Help creating a route for sub-folder holding controllers
#4

which version of codeigniter are you using? if you are using codeigniter 2 then use this, it allows you to use subfolders in the controller 

https://degreesofzero.com/article/contro...niter.html

you just create the file, drop it in, and thats it, works perfectly. 
if its CI 3, or if above solution does not work for CI 2, try adding index to the route
$route['admin'] = '/admin/home/index'; 
Reply


Messages In This Thread
RE: Help creating a route for sub-folder holding controllers - by cartalot - 10-07-2015, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB