EllisLab text mark
Advanced Search
     
Depth of controllers directory limited?
Posted: 05 September 2007 05:49 PM   [ Ignore ]
Joined: 2007-08-30
2 posts

Hello all!
this is my first post here.
I am using CI to develop a college management system.
So far all the problems I encountered have been solved when i went throug the forums
but this one problem is left over

is the depth of the controllers directory limited?
I have controllers structure like this

faculty/
———-some controllers
———-managefaculty/
——————————addfaculty.php
student/
————some controllers


Now if i link to http://localhost/faculty/managefaculty/addFaculty.html
it doesn’t work, but if i put the same controller in /faculty/ and link
as
http://localhost/faculty/addFaculty.html
it works fine.

I just want to organize all the controllers in folders. But I am not able to.

thanks! sid

 
Posted: 05 September 2007 06:13 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2006-04-27
198 posts

yes, since around one year ago we can use subfolders for our controllers - but only one level of subfolders is allowed!

but there are modifications in some posts - here is one: http://ellislab.com/forums/viewthread/56100/

 
Posted: 05 September 2007 06:55 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2007-08-30
2 posts

Great! Thanks! that was a 2min solution!! cheese