Welcome Guest, Not a member yet? Register   Sign In
Putting controllers in sub folders?
#1

[eluser]Mischievous[/eluser]
ok... so i figured a way around putting controllers under a sub folder ex:

controllers/backend/controller

Im trying to figure out a way to put controllers in sub-sub folders? Ex:

controllers/backend/system/controller

is this possible? when i do it codeigniter screams the page cant be found? where in the codeigniter core is the function that looks for the controllers? possibly a modification is needed?
#2

[eluser]w0bbes[/eluser]
Rewrite it in the router?
#3

[eluser]Mischievous[/eluser]
Genius... with all the work i've been doing in codeigniter neglected to remember the router! haha... great idea w0bbes! 2 kuddos to you! Wink




Theme © iAndrew 2016 - Forum software by © MyBB