开发者

PHP Separate admin controllers CODEIGNITER

开发者 https://www.devze.com 2023-04-10 07:04 出处:网络
I have some basic controllers and admin controllers, I\'m trying to separate them in folder to avoid things like this one:

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

精彩评论

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