CodeIgniter 2.x 中控制器的多级子文件夹
我找到了这篇文章:http://codeigniter.com/forums/viewthread/129469/ CodeIgniter 的网站介绍了如何在 CI 1.7.1 中处理多层子文件夹,但 CI 2.x 改变了他们的处理方式。有人可以指出我如何进行更改以使该脚本正常工作的正确方向吗?我无法遵循旧代码下面的注释。我在 CI 的论坛上发帖,但我想我应该在这里尝试一下,看看这里是否有人也可以提供帮助。我将不胜感激。谢谢。
I found this post: http://codeigniter.com/forums/viewthread/129469/ on CodeIgniter's website on how to handle multi-level subfolders in CI 1.7.1, but CI 2.x has changed the way they do things. Could someone please point me in the right direction on how to make the changes I need to to get this script to work. I couldn't follow the comments below the old code. I posted on CI's forums, but I thought I would try on here to see if someone on here could help out as well. I'd greatly appreciate it. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您尝试向控制器添加一些命令,我会推荐模块化扩展。它允许您组织控制器。模型和视图以更符合逻辑的顺序排列。
http://codeigniter.com/wiki/Modular_Extensions__-_HMVC
If you are trying to add some order to your controllers, I would recommend modular extensions. It allows you to organize your controllers. models and views in a more logical order.
http://codeigniter.com/wiki/Modular_Extensions_-_HMVC