PHP Separate admin controllers CODEIGNITER
I have some basic controllers and admin controllers, I'm trying to separate them in folder to avoid things like this one:
controllers/user.php -> general users contr开发者_运维知识库ollers/a_user.php -> for admin users
I've read some things about route but couldn't find a way to do that.
Thanks in advance for any help.
Create a subfolder inside controllers folder and place your admin controllers in there.
精彩评论