Welcome Guest, Not a member yet? Register   Sign In
Controllers in subfolders, How do I specify an index?
#1

[eluser]jhyland[/eluser]
I was making a controller "admin.php", thinking it wouldn't get all THAT long.. Well now its about 2000 lines of code, so its time to break it down.

I created an application/controllers/admin folder for all admin controllers, and then, for example, a application/controllers/admin/accounts.php controller that will process all account related admin functions.

My question is, when they just go to mysite.com/index.php/admin/ .. That puts them into the admin folder, but how can I specify a default controller for that folder?

Thanks in advance.


Messages In This Thread
Controllers in subfolders, How do I specify an index? - by El Forum - 11-13-2012, 12:31 AM
Controllers in subfolders, How do I specify an index? - by El Forum - 11-13-2012, 06:29 AM
Controllers in subfolders, How do I specify an index? - by El Forum - 11-13-2012, 06:57 AM
Controllers in subfolders, How do I specify an index? - by El Forum - 11-13-2012, 07:05 AM
Controllers in subfolders, How do I specify an index? - by El Forum - 11-13-2012, 07:51 PM
Controllers in subfolders, How do I specify an index? - by El Forum - 11-24-2012, 03:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB