开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜