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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.